@kynesyslabs/demosdk 1.5.2 → 1.5.3

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.
@@ -0,0 +1,5 @@
1
+ export type ProviderIdentities = Map<string, string[]>;
2
+ export type Context = "xm" | "web2";
3
+ export type StoredIdentities = {
4
+ [key in Context]: ProviderIdentities;
5
+ };
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ // Example:
4
+ // {
5
+ // xm: {
6
+ // provider1: ["public_identifier1", "public_identifier2"],
7
+ // provider2: ["public_identifier3"],
8
+ // },
9
+ // web2: {
10
+ // provider1: ["public_identifier4"],
11
+ // provider2: ["public_identifier5", "public_identifier6"],
12
+ // },
13
+ // }
14
+ //# sourceMappingURL=identities.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"identities.js","sourceRoot":"","sources":["../../../../src/types/blockchain/identities.ts"],"names":[],"mappings":";;AAQA,WAAW;AACX,IAAI;AACJ,YAAY;AACZ,mEAAmE;AACnE,6CAA6C;AAC7C,SAAS;AACT,cAAc;AACd,6CAA6C;AAC7C,mEAAmE;AACnE,SAAS;AACT,IAAI"}
@@ -10,6 +10,7 @@ export { Bundle, BundleContent } from "./communication/transmit";
10
10
  export { AddressInfo } from "./blockchain/addressInfo";
11
11
  export { StatusNative } from "./blockchain/statusNative";
12
12
  export { statusNative as StatusProperties } from "./blockchain/statusProperties";
13
+ export { StoredIdentities, Context, ProviderIdentities } from "./blockchain/identities";
13
14
  export { Operation, OperationRegistrySlot, OperationResult } from "./gls/Operation";
14
15
  export { StateChange } from "./gls/StateChange";
15
16
  export { ExecutionResult } from "./network/ExecutionResult";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":";;;AAkBA,0DAAuE;AAA9D,6GAAA,aAAa,OAAA;AA0BtB,OAAO;AACP,+BAQe;AADX,uGAAA,eAAe,OAAA;AAOnB,mDAA4D;AAAnD,sGAAA,SAAS,OAAA;AAOlB,2CAQ0B;AAHtB,qGAAA,YAAY,OAAA;AAEZ,qGAAA,YAAY,OAAA;AAGhB,2CAS4B;AADxB,0GAAA,aAAa,OAAuB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":";;;AAkBA,0DAAuE;AAA9D,6GAAA,aAAa,OAAA;AA2BtB,OAAO;AACP,+BAQe;AADX,uGAAA,eAAe,OAAA;AAOnB,mDAA4D;AAAnD,sGAAA,SAAS,OAAA;AAOlB,2CAQ0B;AAHtB,qGAAA,YAAY,OAAA;AAEZ,qGAAA,YAAY,OAAA;AAGhB,2CAS4B;AADxB,0GAAA,aAAa,OAAuB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kynesyslabs/demosdk",
3
- "version": "1.5.2",
3
+ "version": "1.5.3",
4
4
  "main": "build/index.js",
5
5
  "types": "build/index.d.ts",
6
6
  "author": "Kynesys Labs",