@lydianpay/sdk-web 3.12.1 → 3.13.1
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/chunks/{index-SPRFpU-C.js → index-BsBqHeHy.js} +8 -7
- package/dist/chunks/{index--ad5-TxB.js → index-fJBrLteK.js} +1 -1
- package/dist/chunks/{metamask-sdk-ECy5wqL0.js → metamask-sdk-BIbC0y1P.js} +1 -1
- package/dist/chunks/{mountEngine-D6tvuIMZ.js → mountEngine-BIIdZhCT.js} +10511 -10220
- package/dist/lydian.js +1 -1
- package/dist/types/.tsbuildinfo +1 -1
- package/dist/types/types.d.ts +2 -0
- package/dist/types/ui/flowConfig.d.ts +1 -0
- package/dist/types/ui/ldkCheckout.d.ts +14 -0
- package/dist/types/ui/ldkHandoff.d.ts +29 -0
- package/dist/types/ui/pollSequentially.d.ts +14 -0
- package/dist/types/ui/react/WalletCheckoutScreen.d.ts +2 -0
- package/dist/types/ui/react/WalletLogo.d.ts +6 -0
- package/dist/types/ui/react/checkoutActions.d.ts +1 -1
- package/dist/types/ui/react/checkoutStore.d.ts +2 -0
- package/dist/types/ui/sessionPromotion.d.ts +25 -0
- package/dist/types/ui/walletConnection.d.ts +6 -0
- package/package.json +3 -2
|
@@ -131,10 +131,10 @@ class L extends y {
|
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
|
-
class
|
|
134
|
+
class C extends y {
|
|
135
135
|
}
|
|
136
|
-
S(
|
|
137
|
-
const R =
|
|
136
|
+
S(C, [A, I, L]);
|
|
137
|
+
const R = C;
|
|
138
138
|
var u = {
|
|
139
139
|
COMPLIANCE_PENDING: -10,
|
|
140
140
|
API_CANCELLED: -9,
|
|
@@ -166,7 +166,7 @@ var u = {
|
|
|
166
166
|
function F(e) {
|
|
167
167
|
return e.dev ? p.dev : e.sandbox ? p.sandbox : p.prod;
|
|
168
168
|
}
|
|
169
|
-
function
|
|
169
|
+
function b({
|
|
170
170
|
options: e,
|
|
171
171
|
unsupportedKeys: t,
|
|
172
172
|
entryPoint: a
|
|
@@ -328,6 +328,7 @@ const B = {
|
|
|
328
328
|
"wallet.install": "Install {wallet}",
|
|
329
329
|
"wallet.connectNamed": "Connect {wallet}",
|
|
330
330
|
"wallet.scanToConnect": "Scan with your phone to connect with {wallet}.",
|
|
331
|
+
"wallet.continueInApp": "Continue in {wallet}",
|
|
331
332
|
"wallet.backToWallets": "Back to wallets",
|
|
332
333
|
"asset.chooseCoin": "Choose a coin",
|
|
333
334
|
"asset.markupNotice": "Conversion includes a {percent}% markup fee",
|
|
@@ -622,7 +623,7 @@ class G extends HTMLElement {
|
|
|
622
623
|
// Not started in the constructor: a page can carry the tag and never check out.
|
|
623
624
|
// Overlapping initialize() calls share one download.
|
|
624
625
|
getOrLoadEngine() {
|
|
625
|
-
return this.engineLoadPromise ?? (this.engineLoadPromise = import("./mountEngine-
|
|
626
|
+
return this.engineLoadPromise ?? (this.engineLoadPromise = import("./mountEngine-BIIdZhCT.js").then((t) => t.m).then((t) => {
|
|
626
627
|
const a = t.mountCheckoutEngine({
|
|
627
628
|
host: this,
|
|
628
629
|
shadowRoot: this.shadow
|
|
@@ -715,7 +716,7 @@ async function z(e) {
|
|
|
715
716
|
throw new Error(t);
|
|
716
717
|
if (!N(e.transaction.currency))
|
|
717
718
|
throw new Error("Invalid value for currency, valid values are: " + g.join(", "));
|
|
718
|
-
const a =
|
|
719
|
+
const a = b({
|
|
719
720
|
options: e,
|
|
720
721
|
unsupportedKeys: ["sessionID"],
|
|
721
722
|
entryPoint: "init"
|
|
@@ -730,7 +731,7 @@ async function Q(e) {
|
|
|
730
731
|
const t = P(e);
|
|
731
732
|
if (t)
|
|
732
733
|
throw new Error(t);
|
|
733
|
-
const a =
|
|
734
|
+
const a = b({
|
|
734
735
|
options: e,
|
|
735
736
|
unsupportedKeys: ["publishableKey", "transaction"],
|
|
736
737
|
entryPoint: "initExistingSession"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as Fe, I as ft, g as Qt, h as pt, b as jn, s as Bn } from "./mountEngine-
|
|
1
|
+
import { i as Fe, I as ft, g as Qt, h as pt, b as jn, s as Bn } from "./mountEngine-BIIdZhCT.js";
|
|
2
2
|
function Wn(t, e) {
|
|
3
3
|
if (!Fe(t, { strict: !1 }))
|
|
4
4
|
throw new ft({ address: t });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Gf = Object.defineProperty;
|
|
2
2
|
var Yf = (t, e, n) => e in t ? Gf(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
3
3
|
var Ht = (t, e, n) => Yf(t, typeof e != "symbol" ? e + "" : e, n);
|
|
4
|
-
import { c as ei, g as ga } from "./mountEngine-
|
|
4
|
+
import { c as ei, g as ga } from "./mountEngine-BIIdZhCT.js";
|
|
5
5
|
var ti = { exports: {} }, cc;
|
|
6
6
|
function Zf() {
|
|
7
7
|
return cc || (cc = 1, (function(t, e) {
|