techne-sdk 0.3.8 → 0.5.0

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.
Files changed (56) hide show
  1. package/CHANGELOG.md +97 -0
  2. package/README.md +3 -1
  3. package/dist/auth/account.d.ts +67 -0
  4. package/dist/auth/account.js +136 -0
  5. package/dist/auth/hosts.d.ts +4 -0
  6. package/dist/auth/hosts.js +4 -0
  7. package/dist/auth/index.d.ts +30 -5
  8. package/dist/auth/index.js +80 -12
  9. package/dist/catalog/catalog.gen.js +1332 -205
  10. package/dist/generated/index.d.ts +9 -0
  11. package/dist/generated/index.js +27 -0
  12. package/dist/generated/lexicons.d.ts +1797 -227
  13. package/dist/generated/lexicons.js +1147 -224
  14. package/dist/generated/nsid.d.ts +16 -0
  15. package/dist/generated/nsid.js +16 -0
  16. package/dist/generated/nsid.json +16 -0
  17. package/dist/generated/types/pub/techne/draft/commons/moveAccountHandle.d.ts +3 -0
  18. package/dist/generated/types/pub/techne/draft/commons/moveAccountHandle.js +7 -0
  19. package/dist/generated/types/pub/techne/draft/identity/attest.d.ts +5 -0
  20. package/dist/generated/types/pub/techne/draft/identity/attest.js +7 -0
  21. package/dist/generated/types/pub/techne/draft/identity/beginAddMethod.d.ts +3 -0
  22. package/dist/generated/types/pub/techne/draft/identity/beginAddMethod.js +7 -0
  23. package/dist/generated/types/pub/techne/draft/identity/cancelPendingChange.d.ts +29 -0
  24. package/dist/generated/types/pub/techne/draft/identity/cancelPendingChange.js +27 -0
  25. package/dist/generated/types/pub/techne/draft/identity/defs.d.ts +41 -7
  26. package/dist/generated/types/pub/techne/draft/identity/defs.js +14 -0
  27. package/dist/generated/types/pub/techne/draft/identity/finishAddMethod.d.ts +9 -0
  28. package/dist/generated/types/pub/techne/draft/identity/finishAddMethod.js +14 -0
  29. package/dist/generated/types/pub/techne/draft/identity/fold.d.ts +3 -0
  30. package/dist/generated/types/pub/techne/draft/identity/fold.js +7 -0
  31. package/dist/generated/types/pub/techne/draft/identity/holdForPhone.d.ts +1 -1
  32. package/dist/generated/types/pub/techne/draft/identity/link.d.ts +3 -0
  33. package/dist/generated/types/pub/techne/draft/identity/link.js +7 -0
  34. package/dist/generated/types/pub/techne/draft/identity/listMethods.d.ts +7 -1
  35. package/dist/generated/types/pub/techne/draft/identity/manageMethods.d.ts +267 -0
  36. package/dist/generated/types/pub/techne/draft/identity/manageMethods.js +265 -0
  37. package/dist/generated/types/pub/techne/draft/identity/openAccountPage.d.ts +40 -0
  38. package/dist/generated/types/pub/techne/draft/identity/openAccountPage.js +55 -0
  39. package/dist/generated/types/pub/techne/draft/identity/resolve.d.ts +4 -0
  40. package/dist/generated/types/pub/techne/draft/identity/unlinkMethod.d.ts +6 -0
  41. package/dist/generated/types/pub/techne/draft/identity/unlinkMethod.js +7 -0
  42. package/dist/generated/types/pub/techne/draft/permissioned/putRecords.d.ts +2 -2
  43. package/dist/generated/types/pub/techne/draft/query/getRecords.d.ts +11 -0
  44. package/dist/generated/types/pub/techne/draft/query/getRecords.js +7 -0
  45. package/dist/generated/types/pub/techne/draft/registry/blockIndex.d.ts +7 -1
  46. package/dist/generated/types/pub/techne/draft/registry/blockIndex.js +17 -3
  47. package/dist/generated/types/pub/techne/draft/registry/purgeType.d.ts +7 -1
  48. package/dist/generated/types/pub/techne/draft/registry/purgeType.js +17 -3
  49. package/dist/query/compose.d.ts +1 -1
  50. package/dist/query/compose.js +1 -1
  51. package/dist/query/index.d.ts +7 -0
  52. package/dist/query/index.js +28 -1
  53. package/dist/versions/react.js +19 -6
  54. package/dist/wasm/techne-wasm.gen.js +1 -1
  55. package/dist/wasm/techne-wasm2js.gen.js +8361 -8359
  56. package/package.json +2 -1
@@ -49,6 +49,7 @@ import * as PubTechneDraftHeldAt from './types/pub/techne/draft/heldAt.js';
49
49
  import * as PubTechneDraftIdentityAccountsForPhones from './types/pub/techne/draft/identity/accountsForPhones.js';
50
50
  import * as PubTechneDraftIdentityAttest from './types/pub/techne/draft/identity/attest.js';
51
51
  import * as PubTechneDraftIdentityBeginAddMethod from './types/pub/techne/draft/identity/beginAddMethod.js';
52
+ import * as PubTechneDraftIdentityCancelPendingChange from './types/pub/techne/draft/identity/cancelPendingChange.js';
52
53
  import * as PubTechneDraftIdentityCheckLinkToken from './types/pub/techne/draft/identity/checkLinkToken.js';
53
54
  import * as PubTechneDraftIdentityCreateCollective from './types/pub/techne/draft/identity/createCollective.js';
54
55
  import * as PubTechneDraftIdentityCreateLinkToken from './types/pub/techne/draft/identity/createLinkToken.js';
@@ -62,6 +63,8 @@ import * as PubTechneDraftIdentityListLinkRedemptions from './types/pub/techne/d
62
63
  import * as PubTechneDraftIdentityListLinkTokens from './types/pub/techne/draft/identity/listLinkTokens.js';
63
64
  import * as PubTechneDraftIdentityListMethods from './types/pub/techne/draft/identity/listMethods.js';
64
65
  import * as PubTechneDraftIdentityListPhoneHolds from './types/pub/techne/draft/identity/listPhoneHolds.js';
66
+ import * as PubTechneDraftIdentityManageMethods from './types/pub/techne/draft/identity/manageMethods.js';
67
+ import * as PubTechneDraftIdentityOpenAccountPage from './types/pub/techne/draft/identity/openAccountPage.js';
65
68
  import * as PubTechneDraftIdentityRedeemLinkToken from './types/pub/techne/draft/identity/redeemLinkToken.js';
66
69
  import * as PubTechneDraftIdentityReleasePhoneHold from './types/pub/techne/draft/identity/releasePhoneHold.js';
67
70
  import * as PubTechneDraftIdentityResetLinkToken from './types/pub/techne/draft/identity/resetLinkToken.js';
@@ -202,6 +205,7 @@ export * as PubTechneDraftHeldAt from './types/pub/techne/draft/heldAt.js';
202
205
  export * as PubTechneDraftIdentityAccountsForPhones from './types/pub/techne/draft/identity/accountsForPhones.js';
203
206
  export * as PubTechneDraftIdentityAttest from './types/pub/techne/draft/identity/attest.js';
204
207
  export * as PubTechneDraftIdentityBeginAddMethod from './types/pub/techne/draft/identity/beginAddMethod.js';
208
+ export * as PubTechneDraftIdentityCancelPendingChange from './types/pub/techne/draft/identity/cancelPendingChange.js';
205
209
  export * as PubTechneDraftIdentityCheckLinkToken from './types/pub/techne/draft/identity/checkLinkToken.js';
206
210
  export * as PubTechneDraftIdentityCreateCollective from './types/pub/techne/draft/identity/createCollective.js';
207
211
  export * as PubTechneDraftIdentityCreateLinkToken from './types/pub/techne/draft/identity/createLinkToken.js';
@@ -216,6 +220,8 @@ export * as PubTechneDraftIdentityListLinkRedemptions from './types/pub/techne/d
216
220
  export * as PubTechneDraftIdentityListLinkTokens from './types/pub/techne/draft/identity/listLinkTokens.js';
217
221
  export * as PubTechneDraftIdentityListMethods from './types/pub/techne/draft/identity/listMethods.js';
218
222
  export * as PubTechneDraftIdentityListPhoneHolds from './types/pub/techne/draft/identity/listPhoneHolds.js';
223
+ export * as PubTechneDraftIdentityManageMethods from './types/pub/techne/draft/identity/manageMethods.js';
224
+ export * as PubTechneDraftIdentityOpenAccountPage from './types/pub/techne/draft/identity/openAccountPage.js';
219
225
  export * as PubTechneDraftIdentityRedeemLinkToken from './types/pub/techne/draft/identity/redeemLinkToken.js';
220
226
  export * as PubTechneDraftIdentityReleasePhoneHold from './types/pub/techne/draft/identity/releasePhoneHold.js';
221
227
  export * as PubTechneDraftIdentityResetLinkToken from './types/pub/techne/draft/identity/resetLinkToken.js';
@@ -691,6 +697,7 @@ export declare class PubTechneDraftIdentityNS {
691
697
  accountsForPhones(data?: PubTechneDraftIdentityAccountsForPhones.InputSchema, opts?: PubTechneDraftIdentityAccountsForPhones.CallOptions): Promise<PubTechneDraftIdentityAccountsForPhones.Response>;
692
698
  attest(data?: PubTechneDraftIdentityAttest.InputSchema, opts?: PubTechneDraftIdentityAttest.CallOptions): Promise<PubTechneDraftIdentityAttest.Response>;
693
699
  beginAddMethod(data?: PubTechneDraftIdentityBeginAddMethod.InputSchema, opts?: PubTechneDraftIdentityBeginAddMethod.CallOptions): Promise<PubTechneDraftIdentityBeginAddMethod.Response>;
700
+ cancelPendingChange(data?: PubTechneDraftIdentityCancelPendingChange.InputSchema, opts?: PubTechneDraftIdentityCancelPendingChange.CallOptions): Promise<PubTechneDraftIdentityCancelPendingChange.Response>;
694
701
  checkLinkToken(data?: PubTechneDraftIdentityCheckLinkToken.InputSchema, opts?: PubTechneDraftIdentityCheckLinkToken.CallOptions): Promise<PubTechneDraftIdentityCheckLinkToken.Response>;
695
702
  createCollective(data?: PubTechneDraftIdentityCreateCollective.InputSchema, opts?: PubTechneDraftIdentityCreateCollective.CallOptions): Promise<PubTechneDraftIdentityCreateCollective.Response>;
696
703
  createLinkToken(data?: PubTechneDraftIdentityCreateLinkToken.InputSchema, opts?: PubTechneDraftIdentityCreateLinkToken.CallOptions): Promise<PubTechneDraftIdentityCreateLinkToken.Response>;
@@ -703,6 +710,8 @@ export declare class PubTechneDraftIdentityNS {
703
710
  listLinkTokens(data?: PubTechneDraftIdentityListLinkTokens.InputSchema, opts?: PubTechneDraftIdentityListLinkTokens.CallOptions): Promise<PubTechneDraftIdentityListLinkTokens.Response>;
704
711
  listMethods(params?: PubTechneDraftIdentityListMethods.QueryParams, opts?: PubTechneDraftIdentityListMethods.CallOptions): Promise<PubTechneDraftIdentityListMethods.Response>;
705
712
  listPhoneHolds(params?: PubTechneDraftIdentityListPhoneHolds.QueryParams, opts?: PubTechneDraftIdentityListPhoneHolds.CallOptions): Promise<PubTechneDraftIdentityListPhoneHolds.Response>;
713
+ manageMethods(data?: PubTechneDraftIdentityManageMethods.InputSchema, opts?: PubTechneDraftIdentityManageMethods.CallOptions): Promise<PubTechneDraftIdentityManageMethods.Response>;
714
+ openAccountPage(data?: PubTechneDraftIdentityOpenAccountPage.InputSchema, opts?: PubTechneDraftIdentityOpenAccountPage.CallOptions): Promise<PubTechneDraftIdentityOpenAccountPage.Response>;
706
715
  redeemLinkToken(data?: PubTechneDraftIdentityRedeemLinkToken.InputSchema, opts?: PubTechneDraftIdentityRedeemLinkToken.CallOptions): Promise<PubTechneDraftIdentityRedeemLinkToken.Response>;
707
716
  releasePhoneHold(data?: PubTechneDraftIdentityReleasePhoneHold.InputSchema, opts?: PubTechneDraftIdentityReleasePhoneHold.CallOptions): Promise<PubTechneDraftIdentityReleasePhoneHold.Response>;
708
717
  resetLinkToken(data?: PubTechneDraftIdentityResetLinkToken.InputSchema, opts?: PubTechneDraftIdentityResetLinkToken.CallOptions): Promise<PubTechneDraftIdentityResetLinkToken.Response>;
@@ -13,6 +13,7 @@ import * as PubTechneDraftCommonsRunChain from './types/pub/techne/draft/commons
13
13
  import * as PubTechneDraftIdentityAccountsForPhones from './types/pub/techne/draft/identity/accountsForPhones.js';
14
14
  import * as PubTechneDraftIdentityAttest from './types/pub/techne/draft/identity/attest.js';
15
15
  import * as PubTechneDraftIdentityBeginAddMethod from './types/pub/techne/draft/identity/beginAddMethod.js';
16
+ import * as PubTechneDraftIdentityCancelPendingChange from './types/pub/techne/draft/identity/cancelPendingChange.js';
16
17
  import * as PubTechneDraftIdentityCheckLinkToken from './types/pub/techne/draft/identity/checkLinkToken.js';
17
18
  import * as PubTechneDraftIdentityCreateCollective from './types/pub/techne/draft/identity/createCollective.js';
18
19
  import * as PubTechneDraftIdentityCreateLinkToken from './types/pub/techne/draft/identity/createLinkToken.js';
@@ -25,6 +26,8 @@ import * as PubTechneDraftIdentityListLinkRedemptions from './types/pub/techne/d
25
26
  import * as PubTechneDraftIdentityListLinkTokens from './types/pub/techne/draft/identity/listLinkTokens.js';
26
27
  import * as PubTechneDraftIdentityListMethods from './types/pub/techne/draft/identity/listMethods.js';
27
28
  import * as PubTechneDraftIdentityListPhoneHolds from './types/pub/techne/draft/identity/listPhoneHolds.js';
29
+ import * as PubTechneDraftIdentityManageMethods from './types/pub/techne/draft/identity/manageMethods.js';
30
+ import * as PubTechneDraftIdentityOpenAccountPage from './types/pub/techne/draft/identity/openAccountPage.js';
28
31
  import * as PubTechneDraftIdentityRedeemLinkToken from './types/pub/techne/draft/identity/redeemLinkToken.js';
29
32
  import * as PubTechneDraftIdentityReleasePhoneHold from './types/pub/techne/draft/identity/releasePhoneHold.js';
30
33
  import * as PubTechneDraftIdentityResetLinkToken from './types/pub/techne/draft/identity/resetLinkToken.js';
@@ -125,6 +128,7 @@ export * as PubTechneDraftHeldAt from './types/pub/techne/draft/heldAt.js';
125
128
  export * as PubTechneDraftIdentityAccountsForPhones from './types/pub/techne/draft/identity/accountsForPhones.js';
126
129
  export * as PubTechneDraftIdentityAttest from './types/pub/techne/draft/identity/attest.js';
127
130
  export * as PubTechneDraftIdentityBeginAddMethod from './types/pub/techne/draft/identity/beginAddMethod.js';
131
+ export * as PubTechneDraftIdentityCancelPendingChange from './types/pub/techne/draft/identity/cancelPendingChange.js';
128
132
  export * as PubTechneDraftIdentityCheckLinkToken from './types/pub/techne/draft/identity/checkLinkToken.js';
129
133
  export * as PubTechneDraftIdentityCreateCollective from './types/pub/techne/draft/identity/createCollective.js';
130
134
  export * as PubTechneDraftIdentityCreateLinkToken from './types/pub/techne/draft/identity/createLinkToken.js';
@@ -139,6 +143,8 @@ export * as PubTechneDraftIdentityListLinkRedemptions from './types/pub/techne/d
139
143
  export * as PubTechneDraftIdentityListLinkTokens from './types/pub/techne/draft/identity/listLinkTokens.js';
140
144
  export * as PubTechneDraftIdentityListMethods from './types/pub/techne/draft/identity/listMethods.js';
141
145
  export * as PubTechneDraftIdentityListPhoneHolds from './types/pub/techne/draft/identity/listPhoneHolds.js';
146
+ export * as PubTechneDraftIdentityManageMethods from './types/pub/techne/draft/identity/manageMethods.js';
147
+ export * as PubTechneDraftIdentityOpenAccountPage from './types/pub/techne/draft/identity/openAccountPage.js';
142
148
  export * as PubTechneDraftIdentityRedeemLinkToken from './types/pub/techne/draft/identity/redeemLinkToken.js';
143
149
  export * as PubTechneDraftIdentityReleasePhoneHold from './types/pub/techne/draft/identity/releasePhoneHold.js';
144
150
  export * as PubTechneDraftIdentityResetLinkToken from './types/pub/techne/draft/identity/resetLinkToken.js';
@@ -890,6 +896,13 @@ export class PubTechneDraftIdentityNS {
890
896
  throw PubTechneDraftIdentityBeginAddMethod.toKnownErr(e);
891
897
  });
892
898
  }
899
+ cancelPendingChange(data, opts) {
900
+ return this._client
901
+ .call('pub.techne.draft.identity.cancelPendingChange', opts?.qp, data, opts)
902
+ .catch((e) => {
903
+ throw PubTechneDraftIdentityCancelPendingChange.toKnownErr(e);
904
+ });
905
+ }
893
906
  checkLinkToken(data, opts) {
894
907
  return this._client
895
908
  .call('pub.techne.draft.identity.checkLinkToken', opts?.qp, data, opts)
@@ -974,6 +987,20 @@ export class PubTechneDraftIdentityNS {
974
987
  throw PubTechneDraftIdentityListPhoneHolds.toKnownErr(e);
975
988
  });
976
989
  }
990
+ manageMethods(data, opts) {
991
+ return this._client
992
+ .call('pub.techne.draft.identity.manageMethods', opts?.qp, data, opts)
993
+ .catch((e) => {
994
+ throw PubTechneDraftIdentityManageMethods.toKnownErr(e);
995
+ });
996
+ }
997
+ openAccountPage(data, opts) {
998
+ return this._client
999
+ .call('pub.techne.draft.identity.openAccountPage', opts?.qp, data, opts)
1000
+ .catch((e) => {
1001
+ throw PubTechneDraftIdentityOpenAccountPage.toKnownErr(e);
1002
+ });
1003
+ }
977
1004
  redeemLinkToken(data, opts) {
978
1005
  return this._client
979
1006
  .call('pub.techne.draft.identity.redeemLinkToken', opts?.qp, data, opts)