@radishbot/sdk 0.7.0 → 0.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/connection.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -307,7 +307,7 @@ class SdkConnection {
|
|
|
307
307
|
waiter(row.id);
|
|
308
308
|
}
|
|
309
309
|
});
|
|
310
|
-
c.subscriptionBuilder().onApplied(() => resolve(c)).
|
|
310
|
+
c.subscriptionBuilder().onApplied(() => resolve(c)).subscribe([`SELECT * FROM flow WHERE key_hash = '${this._keyHash}'`]);
|
|
311
311
|
}).onConnectError((_ctx, err) => {
|
|
312
312
|
reject(new Error(`SpacetimeDB connection failed: ${err}`));
|
|
313
313
|
}).build();
|
package/package.json
CHANGED
package/src/connection.ts
CHANGED
|
@@ -45,7 +45,7 @@ export class SdkConnection {
|
|
|
45
45
|
|
|
46
46
|
c.subscriptionBuilder()
|
|
47
47
|
.onApplied(() => resolve(c))
|
|
48
|
-
.
|
|
48
|
+
.subscribe([`SELECT * FROM flow WHERE key_hash = '${this._keyHash}'`]);
|
|
49
49
|
})
|
|
50
50
|
.onConnectError((_ctx, err) => {
|
|
51
51
|
reject(new Error(`SpacetimeDB connection failed: ${err}`));
|