@getpara/core-sdk 2.0.0-alpha.20 → 2.0.0-alpha.21

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,33 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+ var auth_exports = {};
19
+ __export(auth_exports, {
20
+ AccountLinkError: () => AccountLinkError
21
+ });
22
+ module.exports = __toCommonJS(auth_exports);
23
+ var AccountLinkError = /* @__PURE__ */ ((AccountLinkError2) => {
24
+ AccountLinkError2["NotAuthenticated"] = "No user is currently authenticated";
25
+ AccountLinkError2["Conflict"] = "Account already linked";
26
+ AccountLinkError2["Canceled"] = "Account linking was canceled";
27
+ AccountLinkError2["Unknown"] = "An unknown error occurred";
28
+ return AccountLinkError2;
29
+ })(AccountLinkError || {});
30
+ // Annotate the CommonJS export names for ESM import in node:
31
+ 0 && (module.exports = {
32
+ AccountLinkError
33
+ });
@@ -17,7 +17,8 @@ var __copyProps = (to, from, except, desc) => {
17
17
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
18
  var coreApi_exports = {};
19
19
  __export(coreApi_exports, {
20
- PARA_CORE_METHODS: () => PARA_CORE_METHODS
20
+ PARA_CORE_METHODS: () => PARA_CORE_METHODS,
21
+ PARA_INTERNAL_METHODS: () => PARA_INTERNAL_METHODS
21
22
  });
22
23
  module.exports = __toCommonJS(coreApi_exports);
23
24
  const PARA_CORE_METHODS = [
@@ -67,9 +68,22 @@ const PARA_CORE_METHODS = [
67
68
  "signTransaction",
68
69
  "initiateOnRampTransaction",
69
70
  "getWalletBalance",
70
- "issueJwt"
71
+ "issueJwt",
72
+ "getLinkedAccounts",
73
+ "accountLinkInProgress"
74
+ ];
75
+ const PARA_INTERNAL_METHODS = [
76
+ "linkAccount",
77
+ "unlinkAccount",
78
+ "verifyEmailOrPhoneLink",
79
+ "verifyOAuthLink",
80
+ "verifyFarcasterLink",
81
+ "verifyTelegramLink",
82
+ "verifyExternalWalletLink",
83
+ "accountLinkInProgress"
71
84
  ];
72
85
  // Annotate the CommonJS export names for ESM import in node:
73
86
  0 && (module.exports = {
74
- PARA_CORE_METHODS
87
+ PARA_CORE_METHODS,
88
+ PARA_INTERNAL_METHODS
75
89
  });
@@ -24,6 +24,7 @@ __export(types_exports, {
24
24
  OnRampPurchaseStatus: () => import_user_management_client.OnRampPurchaseStatus
25
25
  });
26
26
  module.exports = __toCommonJS(types_exports);
27
+ __reExport(types_exports, require("./auth.js"), module.exports);
27
28
  __reExport(types_exports, require("./config.js"), module.exports);
28
29
  __reExport(types_exports, require("./coreApi.js"), module.exports);
29
30
  __reExport(types_exports, require("./wallet.js"), module.exports);
@@ -40,6 +41,7 @@ var import_user_management_client = require("@getpara/user-management-client");
40
41
  OnRampAsset,
41
42
  OnRampProvider,
42
43
  OnRampPurchaseStatus,
44
+ ...require("./auth.js"),
43
45
  ...require("./config.js"),
44
46
  ...require("./coreApi.js"),
45
47
  ...require("./wallet.js"),