@evervault/js 2.9.1 → 2.10.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-js.umd.cjs +1 -1
- package/dist/evervault.d.ts +11 -8
- package/package.json +5 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(t,e){typeof exports=="object"&&typeof module<"u"?e(exports):typeof define=="function"&&define.amd?define(["exports"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t.Evervault={}))})(this,function(t){"use strict";let e=null;async function u(){return e||(e=new Promise((o,r)=>{const n=document.createElement("script");if(n.src="https://js.evervault.com/v2",n.onload=()=>o(),n.onerror=()=>{e=null,r()},!document.head)throw new Error("Expected document.head not to be null. Evervault.js requires a <head> element.");document.head.appendChild(n)}),e)}async function i(){if(window.Evervault)return window.Evervault;try{return await u(),window.Evervault}catch{throw new Error("Failed to load Evervault.js")}}async function l(o,r,n){const a=await i();return new a(o,r,n)}Promise.resolve().then(()=>{i()}),t.loadEvervault=l,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})});
|
|
1
|
+
(function(t,e){typeof exports=="object"&&typeof module<"u"?e(exports):typeof define=="function"&&define.amd?define(["exports"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t.Evervault={}))})(this,(function(t){"use strict";let e=null;async function u(){return e||(e=new Promise((o,r)=>{const n=document.createElement("script");if(n.src="https://js.evervault.com/v2",n.onload=()=>o(),n.onerror=()=>{e=null,r()},!document.head)throw new Error("Expected document.head not to be null. Evervault.js requires a <head> element.");document.head.appendChild(n)}),e)}async function i(){if(window.Evervault)return window.Evervault;try{return await u(),window.Evervault}catch{throw new Error("Failed to load Evervault.js")}}async function l(o,r,n){const a=await i();return new a(o,r,n)}Promise.resolve().then(()=>{i()}),t.loadEvervault=l,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})}));
|
package/dist/evervault.d.ts
CHANGED
|
@@ -783,7 +783,7 @@ declare namespace DataType {
|
|
|
783
783
|
}
|
|
784
784
|
|
|
785
785
|
declare namespace Datatypes {
|
|
786
|
-
|
|
786
|
+
export {
|
|
787
787
|
EncryptableAsString,
|
|
788
788
|
EncryptableValue,
|
|
789
789
|
EncryptableObject,
|
|
@@ -4291,6 +4291,14 @@ declare namespace Property {
|
|
|
4291
4291
|
type VectorEffect = Globals | "non-scaling-stroke" | "none";
|
|
4292
4292
|
}
|
|
4293
4293
|
|
|
4294
|
+
declare type RecurringPaymentIntervalUnit =
|
|
4295
|
+
| "minute"
|
|
4296
|
+
| "hour"
|
|
4297
|
+
| "day"
|
|
4298
|
+
| "week"
|
|
4299
|
+
| "month"
|
|
4300
|
+
| "year";
|
|
4301
|
+
|
|
4294
4302
|
declare interface RecurringTransactionDetails extends BaseTransactionDetails {
|
|
4295
4303
|
type: "recurring";
|
|
4296
4304
|
managementURL: string;
|
|
@@ -4298,6 +4306,8 @@ declare interface RecurringTransactionDetails extends BaseTransactionDetails {
|
|
|
4298
4306
|
description: string;
|
|
4299
4307
|
regularBilling: TransactionLineItem & {
|
|
4300
4308
|
recurringPaymentStartDate: Date;
|
|
4309
|
+
recurringPaymentIntervalUnit?: RecurringPaymentIntervalUnit;
|
|
4310
|
+
recurringPaymentIntervalCount?: number;
|
|
4301
4311
|
};
|
|
4302
4312
|
trialBilling?: TransactionLineItem & {
|
|
4303
4313
|
trialPaymentStartDate: Date;
|
|
@@ -12399,10 +12409,3 @@ declare interface VendorShorthandProperties<TLength = (string & {}) | 0, TTime =
|
|
|
12399
12409
|
declare type WalletDimension = string | number;
|
|
12400
12410
|
|
|
12401
12411
|
export { }
|
|
12402
|
-
|
|
12403
|
-
|
|
12404
|
-
declare global {
|
|
12405
|
-
interface Window {
|
|
12406
|
-
Evervault: EvervaultConstructor | undefined;
|
|
12407
|
-
}
|
|
12408
|
-
}
|
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.10.0",
|
|
5
5
|
"description": "Evervault.js loader for client-side browser applications",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"type": "module",
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
"types": "dist/evervault.d.ts",
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"typescript": "5.5.4",
|
|
21
|
-
"vite": "^
|
|
22
|
-
"vite-plugin-dts": "^4.
|
|
23
|
-
"@evervault/browser": "2.
|
|
24
|
-
"tsconfig": "0.1.0",
|
|
21
|
+
"vite": "^7.3.1",
|
|
22
|
+
"vite-plugin-dts": "^4.5.4",
|
|
23
|
+
"@evervault/browser": "2.52.0",
|
|
25
24
|
"themes": "0.1.22",
|
|
25
|
+
"tsconfig": "0.1.0",
|
|
26
26
|
"types": "0.22.0"
|
|
27
27
|
},
|
|
28
28
|
"scripts": {
|