@tinycloud/sdk-services 3.2.0-beta.2 → 3.2.0-beta.5
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/{BaseService-DWbPbov7.d.cts → BaseService-BDQXjWMx.d.cts} +1 -1
- package/dist/{BaseService-B_UKhVht.d.ts → BaseService-Di_hVfUV.d.ts} +1 -1
- package/dist/encryption/index.cjs +7 -1
- package/dist/encryption/index.cjs.map +1 -1
- package/dist/encryption/index.d.cts +2 -2
- package/dist/encryption/index.d.ts +2 -2
- package/dist/encryption/index.js +7 -1
- package/dist/encryption/index.js.map +1 -1
- package/dist/index.cjs +605 -357
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +37 -26
- package/dist/index.d.ts +37 -26
- package/dist/index.js +600 -357
- package/dist/index.js.map +1 -1
- package/dist/internal/decrypt-transport-response-error.d.cts +1 -1
- package/dist/internal/decrypt-transport-response-error.d.ts +1 -1
- package/dist/kv/index.cjs +540 -338
- package/dist/kv/index.cjs.map +1 -1
- package/dist/kv/index.d.cts +18 -468
- package/dist/kv/index.d.ts +18 -468
- package/dist/kv/index.js +534 -337
- package/dist/kv/index.js.map +1 -1
- package/dist/kv/replication/index.cjs +1398 -0
- package/dist/kv/replication/index.cjs.map +1 -0
- package/dist/kv/replication/index.d.cts +10 -0
- package/dist/kv/replication/index.d.ts +10 -0
- package/dist/kv/replication/index.js +1365 -0
- package/dist/kv/replication/index.js.map +1 -0
- package/dist/kv/replication/prefix.cjs +43 -0
- package/dist/kv/replication/prefix.cjs.map +1 -0
- package/dist/kv/replication/prefix.d.cts +6 -0
- package/dist/kv/replication/prefix.d.ts +6 -0
- package/dist/kv/replication/prefix.js +17 -0
- package/dist/kv/replication/prefix.js.map +1 -0
- package/dist/scope-BKge7zDT.d.ts +957 -0
- package/dist/scope-C05VVAXH.d.cts +957 -0
- package/dist/sql/index.cjs +12 -6
- package/dist/sql/index.cjs.map +1 -1
- package/dist/sql/index.d.cts +2 -2
- package/dist/sql/index.d.ts +2 -2
- package/dist/sql/index.js +12 -6
- package/dist/sql/index.js.map +1 -1
- package/dist/{types-CVwwxqXF.d.cts → types-7A5rHWRY.d.cts} +10 -1
- package/dist/{types-CVwwxqXF.d.ts → types-7A5rHWRY.d.ts} +10 -1
- package/package.json +31 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BaseService } from '../BaseService-
|
|
2
|
-
import { P as PermissionHint, I as IService, R as Result } from '../types-
|
|
1
|
+
import { B as BaseService } from '../BaseService-BDQXjWMx.cjs';
|
|
2
|
+
import { P as PermissionHint, I as IService, R as Result } from '../types-7A5rHWRY.cjs';
|
|
3
3
|
export { DecryptTransportResponseError } from '@tinycloud/sdk-services/internal/decrypt-transport-response-error';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BaseService } from '../BaseService-
|
|
2
|
-
import { P as PermissionHint, I as IService, R as Result } from '../types-
|
|
1
|
+
import { B as BaseService } from '../BaseService-Di_hVfUV.js';
|
|
2
|
+
import { P as PermissionHint, I as IService, R as Result } from '../types-7A5rHWRY.js';
|
|
3
3
|
export { DecryptTransportResponseError } from '@tinycloud/sdk-services/internal/decrypt-transport-response-error';
|
|
4
4
|
|
|
5
5
|
/**
|
package/dist/encryption/index.js
CHANGED
|
@@ -60,7 +60,12 @@ var TelemetryEvents = {
|
|
|
60
60
|
SERVICE_ERROR: "service.error",
|
|
61
61
|
SERVICE_RETRY: "service.retry",
|
|
62
62
|
SESSION_CHANGED: "session.changed",
|
|
63
|
-
SESSION_EXPIRED: "session.expired"
|
|
63
|
+
SESSION_EXPIRED: "session.expired",
|
|
64
|
+
REPLICATION_READ: "replication.read",
|
|
65
|
+
REPLICATION_WRITE: "replication.write",
|
|
66
|
+
REPLICATION_SYNC: "replication.sync",
|
|
67
|
+
REPLICATION_STATE: "replication.state",
|
|
68
|
+
REPLICATION_DIVERGENCE: "replication.divergence"
|
|
64
69
|
};
|
|
65
70
|
function err(error) {
|
|
66
71
|
return { ok: false, error };
|
|
@@ -455,6 +460,7 @@ var BaseService = class {
|
|
|
455
460
|
const parents = [
|
|
456
461
|
this.abortController.signal,
|
|
457
462
|
this.context?.abortSignal,
|
|
463
|
+
this.context?.operationAbortSignal,
|
|
458
464
|
signal
|
|
459
465
|
].filter((parent) => parent !== void 0);
|
|
460
466
|
for (const parent of parents) {
|