@moonpay/platform-sdk-core 0.2.0 → 0.2.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.cjs +2 -29
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -3
- package/dist/index.js.map +1 -1
- package/package.json +3 -2
package/dist/index.cjs
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __create = Object.create;
|
|
3
2
|
var __defProp = Object.defineProperty;
|
|
4
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
5
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
6
|
var __export = (target, all) => {
|
|
9
7
|
for (var name in all)
|
|
@@ -17,14 +15,6 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
17
15
|
}
|
|
18
16
|
return to;
|
|
19
17
|
};
|
|
20
|
-
var __toESM = (mod2, isNodeMode, target) => (target = mod2 != null ? __create(__getProtoOf(mod2)) : {}, __copyProps(
|
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
-
isNodeMode || !mod2 || !mod2.__esModule ? __defProp(target, "default", { value: mod2, enumerable: true }) : target,
|
|
26
|
-
mod2
|
|
27
|
-
));
|
|
28
18
|
var __toCommonJS = (mod2) => __copyProps(__defProp({}, "__esModule", { value: true }), mod2);
|
|
29
19
|
|
|
30
20
|
// src/index.ts
|
|
@@ -738,9 +728,8 @@ function aoutput2(out, instance) {
|
|
|
738
728
|
}
|
|
739
729
|
}
|
|
740
730
|
|
|
741
|
-
// ../../node_modules/.bun/@noble+hashes@1.7.0/node_modules/@noble/hashes/esm/
|
|
742
|
-
var
|
|
743
|
-
var crypto = nc && typeof nc === "object" && "webcrypto" in nc ? nc.webcrypto : nc && typeof nc === "object" && "randomBytes" in nc ? nc : void 0;
|
|
731
|
+
// ../../node_modules/.bun/@noble+hashes@1.7.0/node_modules/@noble/hashes/esm/crypto.js
|
|
732
|
+
var crypto = typeof globalThis === "object" && "crypto" in globalThis ? globalThis.crypto : void 0;
|
|
744
733
|
|
|
745
734
|
// ../../node_modules/.bun/@noble+hashes@1.7.0/node_modules/@noble/hashes/esm/utils.js
|
|
746
735
|
var createView2 = (arr) => new DataView(arr.buffer, arr.byteOffset, arr.byteLength);
|
|
@@ -1572,22 +1561,6 @@ function buildFrameUrl(path, query = {}, options = {}) {
|
|
|
1572
1561
|
}
|
|
1573
1562
|
return url.href;
|
|
1574
1563
|
}
|
|
1575
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
1576
|
-
0 && (module.exports = {
|
|
1577
|
-
FRAME_PATHS,
|
|
1578
|
-
apiFetch,
|
|
1579
|
-
buildFrameUrl,
|
|
1580
|
-
createClientContext,
|
|
1581
|
-
createClientCore,
|
|
1582
|
-
createFrameOrchestrator,
|
|
1583
|
-
decryptCredentials,
|
|
1584
|
-
deletePaymentMethod,
|
|
1585
|
-
generateKeyPair,
|
|
1586
|
-
getPaymentMethods,
|
|
1587
|
-
getQuote,
|
|
1588
|
-
getTransaction,
|
|
1589
|
-
listTransactions
|
|
1590
|
-
});
|
|
1591
1564
|
/*! Bundled license information:
|
|
1592
1565
|
|
|
1593
1566
|
@noble/ciphers/esm/utils.js:
|