@paynext/sdk 0.0.96 → 0.0.98
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/_commonjs-dynamic-modules-C4BgavC4.js +11 -0
- package/dist/_commonjs-dynamic-modules-C4BgavC4.js.map +1 -0
- package/dist/client-Cz7Nq-cT.js +1701 -0
- package/dist/client-Cz7Nq-cT.js.map +1 -0
- package/dist/data-collector-DPBfun3X.js +713 -0
- package/dist/data-collector-DPBfun3X.js.map +1 -0
- package/dist/evervault-js-37KtqVz5.js +55 -0
- package/dist/evervault-js-37KtqVz5.js.map +1 -0
- package/dist/index.es.js +3569 -8985
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +26 -26
- package/dist/index.umd.js.map +1 -1
- package/dist/paypal-js-DZ6k5L_e.js +131 -0
- package/dist/paypal-js-DZ6k5L_e.js.map +1 -0
- package/dist/venmo-Dybrh4_x.js +2920 -0
- package/dist/venmo-Dybrh4_x.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* paypal-js v8.4.2 (2025-09-04T17:21:30.135Z)
|
|
3
|
+
* Copyright 2020-present, PayPal, Inc. All rights reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
function v(r, t) {
|
|
18
|
+
var e = {};
|
|
19
|
+
for (var n in r) Object.prototype.hasOwnProperty.call(r, n) && t.indexOf(n) < 0 && (e[n] = r[n]);
|
|
20
|
+
if (r != null && typeof Object.getOwnPropertySymbols == "function")
|
|
21
|
+
for (var o = 0, n = Object.getOwnPropertySymbols(r); o < n.length; o++)
|
|
22
|
+
t.indexOf(n[o]) < 0 && Object.prototype.propertyIsEnumerable.call(r, n[o]) && (e[n[o]] = r[n[o]]);
|
|
23
|
+
return e;
|
|
24
|
+
}
|
|
25
|
+
function w(r, t) {
|
|
26
|
+
var e = document.querySelector('script[src="'.concat(r, '"]'));
|
|
27
|
+
if (e === null)
|
|
28
|
+
return null;
|
|
29
|
+
var n = l(r, t), o = e.cloneNode();
|
|
30
|
+
if (delete o.dataset.uidAuto, Object.keys(o.dataset).length !== Object.keys(n.dataset).length)
|
|
31
|
+
return null;
|
|
32
|
+
var a = !0;
|
|
33
|
+
return Object.keys(o.dataset).forEach(function(c) {
|
|
34
|
+
o.dataset[c] !== n.dataset[c] && (a = !1);
|
|
35
|
+
}), a ? e : null;
|
|
36
|
+
}
|
|
37
|
+
function h(r) {
|
|
38
|
+
var t = r.url, e = r.attributes, n = r.onSuccess, o = r.onError, a = l(t, e);
|
|
39
|
+
a.onerror = o, a.onload = n, document.head.insertBefore(a, document.head.firstElementChild);
|
|
40
|
+
}
|
|
41
|
+
function m(r) {
|
|
42
|
+
var t = r.sdkBaseUrl, e = r.environment, n = v(r, ["sdkBaseUrl", "environment"]), o = t || j(e), a = n, c = Object.keys(a).filter(function(i) {
|
|
43
|
+
return typeof a[i] != "undefined" && a[i] !== null && a[i] !== "";
|
|
44
|
+
}).reduce(function(i, s) {
|
|
45
|
+
var f = a[s].toString();
|
|
46
|
+
return s = E(s), s.substring(0, 4) === "data" || s === "crossorigin" ? i.attributes[s] = f : i.queryParams[s] = f, i;
|
|
47
|
+
}, {
|
|
48
|
+
queryParams: {},
|
|
49
|
+
attributes: {}
|
|
50
|
+
}), u = c.queryParams, d = c.attributes;
|
|
51
|
+
return u["merchant-id"] && u["merchant-id"].indexOf(",") !== -1 && (d["data-merchant-id"] = u["merchant-id"], u["merchant-id"] = "*"), {
|
|
52
|
+
url: "".concat(o, "?").concat(S(u)),
|
|
53
|
+
attributes: d
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
function E(r) {
|
|
57
|
+
var t = function(e, n) {
|
|
58
|
+
return (n ? "-" : "") + e.toLowerCase();
|
|
59
|
+
};
|
|
60
|
+
return r.replace(/[A-Z]+(?![a-z])|[A-Z]/g, t);
|
|
61
|
+
}
|
|
62
|
+
function S(r) {
|
|
63
|
+
var t = "";
|
|
64
|
+
return Object.keys(r).forEach(function(e) {
|
|
65
|
+
t.length !== 0 && (t += "&"), t += e + "=" + r[e];
|
|
66
|
+
}), t;
|
|
67
|
+
}
|
|
68
|
+
function j(r) {
|
|
69
|
+
return r === "sandbox" ? "https://www.sandbox.paypal.com/sdk/js" : "https://www.paypal.com/sdk/js";
|
|
70
|
+
}
|
|
71
|
+
function l(r, t) {
|
|
72
|
+
t === void 0 && (t = {});
|
|
73
|
+
var e = document.createElement("script");
|
|
74
|
+
return e.src = r, Object.keys(t).forEach(function(n) {
|
|
75
|
+
e.setAttribute(n, t[n]), n === "data-csp-nonce" && e.setAttribute("nonce", t["data-csp-nonce"]);
|
|
76
|
+
}), e;
|
|
77
|
+
}
|
|
78
|
+
function g(r, t) {
|
|
79
|
+
if (t === void 0 && (t = Promise), b(r, t), typeof document == "undefined")
|
|
80
|
+
return t.resolve(null);
|
|
81
|
+
var e = m(r), n = e.url, o = e.attributes, a = o["data-namespace"] || "paypal", c = p(a);
|
|
82
|
+
return o["data-js-sdk-library"] || (o["data-js-sdk-library"] = "paypal-js"), w(n, o) && c ? t.resolve(c) : y({
|
|
83
|
+
url: n,
|
|
84
|
+
attributes: o
|
|
85
|
+
}, t).then(function() {
|
|
86
|
+
var u = p(a);
|
|
87
|
+
if (u)
|
|
88
|
+
return u;
|
|
89
|
+
throw new Error("The window.".concat(a, " global variable is not available."));
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
function y(r, t) {
|
|
93
|
+
t === void 0 && (t = Promise), b(r, t);
|
|
94
|
+
var e = r.url, n = r.attributes;
|
|
95
|
+
if (typeof e != "string" || e.length === 0)
|
|
96
|
+
throw new Error("Invalid url.");
|
|
97
|
+
if (typeof n != "undefined" && typeof n != "object")
|
|
98
|
+
throw new Error("Expected attributes to be an object.");
|
|
99
|
+
return new t(function(o, a) {
|
|
100
|
+
if (typeof document == "undefined")
|
|
101
|
+
return o();
|
|
102
|
+
h({
|
|
103
|
+
url: e,
|
|
104
|
+
attributes: n,
|
|
105
|
+
onSuccess: function() {
|
|
106
|
+
return o();
|
|
107
|
+
},
|
|
108
|
+
onError: function() {
|
|
109
|
+
var c = new Error('The script "'.concat(e, '" failed to load. Check the HTTP status code and response body in DevTools to learn more.'));
|
|
110
|
+
return a(c);
|
|
111
|
+
}
|
|
112
|
+
});
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
function p(r) {
|
|
116
|
+
return window[r];
|
|
117
|
+
}
|
|
118
|
+
function b(r, t) {
|
|
119
|
+
if (typeof r != "object" || r === null)
|
|
120
|
+
throw new Error("Expected an options object.");
|
|
121
|
+
var e = r.environment;
|
|
122
|
+
if (e && e !== "production" && e !== "sandbox")
|
|
123
|
+
throw new Error('The `environment` option must be either "production" or "sandbox".');
|
|
124
|
+
if (typeof t != "undefined" && typeof t != "function")
|
|
125
|
+
throw new Error("Expected PromisePonyfill to be a function.");
|
|
126
|
+
}
|
|
127
|
+
export {
|
|
128
|
+
y as loadCustomScript,
|
|
129
|
+
g as loadScript
|
|
130
|
+
};
|
|
131
|
+
//# sourceMappingURL=paypal-js-DZ6k5L_e.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"paypal-js-DZ6k5L_e.js","sources":["../node_modules/@paypal/paypal-js/dist/esm/paypal-js.js"],"sourcesContent":["/*!\n * paypal-js v8.4.2 (2025-09-04T17:21:30.135Z)\n * Copyright 2020-present, PayPal, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise, SuppressedError, Symbol */\r\n\r\n\r\nfunction __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\ntypeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\r\n var e = new Error(message);\r\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\r\n};\n\nfunction findScript(url, attributes) {\n var currentScript = document.querySelector(\"script[src=\\\"\".concat(url, \"\\\"]\"));\n if (currentScript === null)\n return null;\n var nextScript = createScriptElement(url, attributes);\n // ignore the data-uid-auto attribute that gets auto-assigned to every script tag\n var currentScriptClone = currentScript.cloneNode();\n delete currentScriptClone.dataset.uidAuto;\n // check if the new script has the same number of data attributes\n if (Object.keys(currentScriptClone.dataset).length !==\n Object.keys(nextScript.dataset).length) {\n return null;\n }\n var isExactMatch = true;\n // check if the data attribute values are the same\n Object.keys(currentScriptClone.dataset).forEach(function (key) {\n if (currentScriptClone.dataset[key] !== nextScript.dataset[key]) {\n isExactMatch = false;\n }\n });\n return isExactMatch ? currentScript : null;\n}\nfunction insertScriptElement(_a) {\n var url = _a.url, attributes = _a.attributes, onSuccess = _a.onSuccess, onError = _a.onError;\n var newScript = createScriptElement(url, attributes);\n newScript.onerror = onError;\n newScript.onload = onSuccess;\n document.head.insertBefore(newScript, document.head.firstElementChild);\n}\nfunction processOptions(_a) {\n var customSdkBaseUrl = _a.sdkBaseUrl, environment = _a.environment, options = __rest(_a, [\"sdkBaseUrl\", \"environment\"]);\n var sdkBaseUrl = customSdkBaseUrl || processSdkBaseUrl(environment);\n var optionsWithStringIndex = options;\n var _b = Object.keys(optionsWithStringIndex)\n .filter(function (key) {\n return (typeof optionsWithStringIndex[key] !== \"undefined\" &&\n optionsWithStringIndex[key] !== null &&\n optionsWithStringIndex[key] !== \"\");\n })\n .reduce(function (accumulator, key) {\n var value = optionsWithStringIndex[key].toString();\n key = camelCaseToKebabCase(key);\n if (key.substring(0, 4) === \"data\" || key === \"crossorigin\") {\n accumulator.attributes[key] = value;\n }\n else {\n accumulator.queryParams[key] = value;\n }\n return accumulator;\n }, {\n queryParams: {},\n attributes: {},\n }), queryParams = _b.queryParams, attributes = _b.attributes;\n if (queryParams[\"merchant-id\"] &&\n queryParams[\"merchant-id\"].indexOf(\",\") !== -1) {\n attributes[\"data-merchant-id\"] = queryParams[\"merchant-id\"];\n queryParams[\"merchant-id\"] = \"*\";\n }\n return {\n url: \"\".concat(sdkBaseUrl, \"?\").concat(objectToQueryString(queryParams)),\n attributes: attributes,\n };\n}\nfunction camelCaseToKebabCase(str) {\n var replacer = function (match, indexOfMatch) {\n return (indexOfMatch ? \"-\" : \"\") + match.toLowerCase();\n };\n return str.replace(/[A-Z]+(?![a-z])|[A-Z]/g, replacer);\n}\nfunction objectToQueryString(params) {\n var queryString = \"\";\n Object.keys(params).forEach(function (key) {\n if (queryString.length !== 0)\n queryString += \"&\";\n queryString += key + \"=\" + params[key];\n });\n return queryString;\n}\nfunction processSdkBaseUrl(environment) {\n // Keeping production as default to maintain backward compatibility.\n // In the future this logic needs to be changed to use sandbox domain as default instead of production.\n return environment === \"sandbox\"\n ? \"https://www.sandbox.paypal.com/sdk/js\"\n : \"https://www.paypal.com/sdk/js\";\n}\nfunction createScriptElement(url, attributes) {\n if (attributes === void 0) { attributes = {}; }\n var newScript = document.createElement(\"script\");\n newScript.src = url;\n Object.keys(attributes).forEach(function (key) {\n newScript.setAttribute(key, attributes[key]);\n if (key === \"data-csp-nonce\") {\n newScript.setAttribute(\"nonce\", attributes[\"data-csp-nonce\"]);\n }\n });\n return newScript;\n}\n\n/**\n * Load the Paypal JS SDK script asynchronously.\n *\n * @param {Object} options - used to configure query parameters and data attributes for the JS SDK.\n * @param {PromiseConstructor} [PromisePonyfill=window.Promise] - optional Promise Constructor ponyfill.\n * @return {Promise<Object>} paypalObject - reference to the global window PayPal object.\n */\nfunction loadScript(options, PromisePonyfill) {\n if (PromisePonyfill === void 0) { PromisePonyfill = Promise; }\n validateArguments(options, PromisePonyfill);\n // resolve with null when running in Node or Deno\n if (typeof document === \"undefined\")\n return PromisePonyfill.resolve(null);\n var _a = processOptions(options), url = _a.url, attributes = _a.attributes;\n var namespace = attributes[\"data-namespace\"] || \"paypal\";\n var existingWindowNamespace = getPayPalWindowNamespace(namespace);\n if (!attributes[\"data-js-sdk-library\"]) {\n attributes[\"data-js-sdk-library\"] = \"paypal-js\";\n }\n // resolve with the existing global paypal namespace when a script with the same params already exists\n if (findScript(url, attributes) && existingWindowNamespace) {\n return PromisePonyfill.resolve(existingWindowNamespace);\n }\n return loadCustomScript({\n url: url,\n attributes: attributes,\n }, PromisePonyfill).then(function () {\n var newWindowNamespace = getPayPalWindowNamespace(namespace);\n if (newWindowNamespace) {\n return newWindowNamespace;\n }\n throw new Error(\"The window.\".concat(namespace, \" global variable is not available.\"));\n });\n}\n/**\n * Load a custom script asynchronously.\n *\n * @param {Object} options - used to set the script url and attributes.\n * @param {PromiseConstructor} [PromisePonyfill=window.Promise] - optional Promise Constructor ponyfill.\n * @return {Promise<void>} returns a promise to indicate if the script was successfully loaded.\n */\nfunction loadCustomScript(options, PromisePonyfill) {\n if (PromisePonyfill === void 0) { PromisePonyfill = Promise; }\n validateArguments(options, PromisePonyfill);\n var url = options.url, attributes = options.attributes;\n if (typeof url !== \"string\" || url.length === 0) {\n throw new Error(\"Invalid url.\");\n }\n if (typeof attributes !== \"undefined\" && typeof attributes !== \"object\") {\n throw new Error(\"Expected attributes to be an object.\");\n }\n return new PromisePonyfill(function (resolve, reject) {\n // resolve with undefined when running in Node or Deno\n if (typeof document === \"undefined\")\n return resolve();\n insertScriptElement({\n url: url,\n attributes: attributes,\n onSuccess: function () { return resolve(); },\n onError: function () {\n var defaultError = new Error(\"The script \\\"\".concat(url, \"\\\" failed to load. Check the HTTP status code and response body in DevTools to learn more.\"));\n return reject(defaultError);\n },\n });\n });\n}\nfunction getPayPalWindowNamespace(namespace) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return window[namespace];\n}\nfunction validateArguments(options, PromisePonyfill) {\n if (typeof options !== \"object\" || options === null) {\n throw new Error(\"Expected an options object.\");\n }\n var environment = options.environment;\n if (environment &&\n environment !== \"production\" &&\n environment !== \"sandbox\") {\n throw new Error('The `environment` option must be either \"production\" or \"sandbox\".');\n }\n if (typeof PromisePonyfill !== \"undefined\" &&\n typeof PromisePonyfill !== \"function\") {\n throw new Error(\"Expected PromisePonyfill to be a function.\");\n }\n}\n\n// replaced with the package.json version at build time\nvar version = \"8.4.2\";\n\nexport { loadCustomScript, loadScript, version };\n"],"names":["__rest","s","e","t","p","i","findScript","url","attributes","currentScript","nextScript","createScriptElement","currentScriptClone","isExactMatch","key","insertScriptElement","_a","onSuccess","onError","newScript","processOptions","customSdkBaseUrl","environment","options","sdkBaseUrl","processSdkBaseUrl","optionsWithStringIndex","_b","accumulator","value","camelCaseToKebabCase","queryParams","objectToQueryString","str","replacer","match","indexOfMatch","params","queryString","loadScript","PromisePonyfill","validateArguments","namespace","existingWindowNamespace","getPayPalWindowNamespace","loadCustomScript","newWindowNamespace","resolve","reject","defaultError"],"mappings":"AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAiCA,SAASA,EAAOC,GAAGC,GAAG;AAClB,MAAIC,IAAI,CAAA;AACR,WAASC,KAAKH,EAAG,CAAI,OAAO,UAAU,eAAe,KAAKA,GAAGG,CAAC,KAAKF,EAAE,QAAQE,CAAC,IAAI,MAC9ED,EAAEC,CAAC,IAAIH,EAAEG,CAAC;AACd,MAAIH,KAAK,QAAQ,OAAO,OAAO,yBAA0B;AACrD,aAASI,IAAI,GAAGD,IAAI,OAAO,sBAAsBH,CAAC,GAAGI,IAAID,EAAE,QAAQC;AAC/D,MAAIH,EAAE,QAAQE,EAAEC,CAAC,CAAC,IAAI,KAAK,OAAO,UAAU,qBAAqB,KAAKJ,GAAGG,EAAEC,CAAC,CAAC,MACzEF,EAAEC,EAAEC,CAAC,CAAC,IAAIJ,EAAEG,EAAEC,CAAC,CAAC;AAE5B,SAAOF;AACX;AAOA,SAASG,EAAWC,GAAKC,GAAY;AACjC,MAAIC,IAAgB,SAAS,cAAc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