@evervault/js 2.13.0 → 2.14.0
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/evervault.d.ts +6 -0
- package/package.json +4 -4
package/dist/evervault.d.ts
CHANGED
|
@@ -6,6 +6,12 @@ declare class ApplePayButton {
|
|
|
6
6
|
transaction: Transaction;
|
|
7
7
|
constructor(client: EvervaultClient, transaction: Transaction, options: ApplePayButtonOptions);
|
|
8
8
|
on(event: keyof ApplePayEvents, callback: ApplePayEvents[keyof ApplePayEvents]): () => void;
|
|
9
|
+
/**
|
|
10
|
+
* Programmatically dismiss the Apple Pay sheet while a session is active.
|
|
11
|
+
* Maps to PaymentRequest.abort(). Fires the `cancel` event on success.
|
|
12
|
+
* No-op if no session is in progress or abort is not possible.
|
|
13
|
+
*/
|
|
14
|
+
abort(): Promise<void>;
|
|
9
15
|
/**
|
|
10
16
|
* Checks the availability of Apple Pay on the current device.
|
|
11
17
|
*
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"private": false,
|
|
3
3
|
"name": "@evervault/js",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.14.0",
|
|
5
5
|
"description": "Evervault.js loader for client-side browser applications",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"type": "module",
|
|
@@ -17,13 +17,13 @@
|
|
|
17
17
|
"module": "dist/evervault-js.js",
|
|
18
18
|
"types": "dist/evervault.d.ts",
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"typescript": "5.
|
|
20
|
+
"typescript": "5.6.3",
|
|
21
21
|
"vite": "^7.3.2",
|
|
22
22
|
"vite-plugin-dts": "^4.5.4",
|
|
23
|
-
"@evervault/browser": "2.56.0",
|
|
24
23
|
"themes": "0.1.23",
|
|
25
24
|
"tsconfig": "0.1.0",
|
|
26
|
-
"types": "0.23.0"
|
|
25
|
+
"types": "0.23.0",
|
|
26
|
+
"@evervault/browser": "2.57.0"
|
|
27
27
|
},
|
|
28
28
|
"scripts": {
|
|
29
29
|
"build": "vite build",
|