@yuants/protocol
Advanced tools
Comparing version 0.7.1 to 0.7.2
@@ -683,3 +683,3 @@ import { UUID, decodePath, encodePath, formatTime } from '@yuants/data-model'; | ||
this.provideChannel({ pattern: `^Period/${encodePath(datasource_id)}/.+/.+$` }, (channel_id) => { | ||
const [, datasourceId, product_id, period_in_sec] = encodePath(channel_id); | ||
const [, datasourceId, product_id, period_in_sec] = decodePath(channel_id); | ||
if (datasourceId !== datasource_id || !product_id || !period_in_sec) | ||
@@ -686,0 +686,0 @@ return EMPTY; |
@@ -689,3 +689,3 @@ "use strict"; | ||
this.provideChannel({ pattern: `^Period/${(0, data_model_1.encodePath)(datasource_id)}/.+/.+$` }, (channel_id) => { | ||
const [, datasourceId, product_id, period_in_sec] = (0, data_model_1.encodePath)(channel_id); | ||
const [, datasourceId, product_id, period_in_sec] = (0, data_model_1.decodePath)(channel_id); | ||
if (datasourceId !== datasource_id || !product_id || !period_in_sec) | ||
@@ -692,0 +692,0 @@ return rxjs_1.EMPTY; |
{ | ||
"name": "@yuants/protocol", | ||
"version": "0.7.1", | ||
"version": "0.7.2", | ||
"main": "lib/index.js", | ||
@@ -5,0 +5,0 @@ "module": "dist/index.js", |
{ | ||
"libraries/protocol/CHANGELOG.json": "a64cd87ff18280a52970bdcab6e8567f4f93a975", | ||
"libraries/protocol/CHANGELOG.md": "34debb3cfb34b172be6a3669796efd75a62cc64d", | ||
"libraries/protocol/CHANGELOG.json": "db3a1205625c8908936ca359bdcccd5199706fb8", | ||
"libraries/protocol/CHANGELOG.md": "7bd09d42e1401fb78bfb5e676a15aef7c02d3a6d", | ||
"libraries/protocol/api-extractor.json": "62f4fd324425b9a235f0c117975967aab09ced0c", | ||
@@ -9,3 +9,3 @@ "libraries/protocol/config/jest.config.json": "4bb17bde3ee911163a3edb36a6eb71491d80b1bd", | ||
"libraries/protocol/etc/protocol.api.md": "c948fa4a9a74093b79f0611918db660255422151", | ||
"libraries/protocol/package.json": "71edd2c31fea5e36d6b126a0452e1c114ce73b4e", | ||
"libraries/protocol/package.json": "f09c95bd3004dda0eac7d1611d0c05939fa67879", | ||
"libraries/protocol/src/create-connection.ts": "2661804296111a6a432a3ccd4e1eb555e1742e32", | ||
@@ -26,3 +26,3 @@ "libraries/protocol/src/index.ts": "3d8a31fc7c1416d5b7040fd4365802c33640a143", | ||
"libraries/protocol/src/terminal.test.ts": "a88d7681da88e37ded88571fb5374a9e94a4d428", | ||
"libraries/protocol/src/terminal.ts": "83802ba2041f3768bb67869afad930fdc322e386", | ||
"libraries/protocol/src/terminal.ts": "9bd783d9982898bc196feb5a6bf22bd463cc86ae", | ||
"libraries/protocol/src/utils/account-info.ts": "6649d81925bf3cbc92fa44a0a33391727f027c38", | ||
@@ -29,0 +29,0 @@ "libraries/protocol/src/utils/index.ts": "fb0d1c7ff9a05bb2fedbfcc1050101fc6f18cb80", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet