@paynext/sdk 0.0.63 → 0.0.65
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.d.ts +2 -0
- package/dist/index.es.js +6 -3
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +23 -23
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -1
package/dist/index.d.ts
CHANGED
|
@@ -388,6 +388,8 @@ declare interface IPayPalButtonStyles {
|
|
|
388
388
|
styles?: PayPalButtonStyle;
|
|
389
389
|
}
|
|
390
390
|
|
|
391
|
+
export declare const isClient: boolean;
|
|
392
|
+
|
|
391
393
|
declare type Listener<TData> = (data: TData) => void;
|
|
392
394
|
|
|
393
395
|
export declare type Locale = 'ar' | 'en' | 'bg' | 'cs' | 'da' | 'de' | 'el' | 'es' | 'et' | 'fi' | 'fil' | 'fr' | 'hr' | 'hu' | 'id' | 'it' | 'ja' | 'ko' | 'lt' | 'lv' | 'ms' | 'ru' | 'mt' | 'nb' | 'no' | 'nl' | 'pl' | 'pt' | 'ro' | 'ua' | 'sk' | 'sl' | 'sv' | 'th' | 'tr' | 'vi' | 'zh';
|
package/dist/index.es.js
CHANGED
|
@@ -17886,7 +17886,7 @@ class Wu {
|
|
|
17886
17886
|
Object.values(this.state).forEach((e) => e.clearState());
|
|
17887
17887
|
}
|
|
17888
17888
|
}
|
|
17889
|
-
class
|
|
17889
|
+
class ep {
|
|
17890
17890
|
constructor(e) {
|
|
17891
17891
|
A(this, "parent");
|
|
17892
17892
|
A(this, "core", new Wu());
|
|
@@ -17904,9 +17904,12 @@ class Ju {
|
|
|
17904
17904
|
});
|
|
17905
17905
|
}
|
|
17906
17906
|
}
|
|
17907
|
+
const $u = typeof window != "undefined";
|
|
17908
|
+
$u || console.debug("[paynext-sdk] SSR mode detected — client-only code skipped.");
|
|
17907
17909
|
export {
|
|
17908
17910
|
Wu as Core,
|
|
17909
|
-
|
|
17910
|
-
te as PaymentMethod
|
|
17911
|
+
ep as PayNextCheckout,
|
|
17912
|
+
te as PaymentMethod,
|
|
17913
|
+
$u as isClient
|
|
17911
17914
|
};
|
|
17912
17915
|
//# sourceMappingURL=index.es.js.map
|