@stacksjs/browser 0.68.1 → 0.69.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/base.d.ts +3 -2
- package/dist/billable.d.ts +7 -0
- package/dist/date.d.ts +1 -0
- package/dist/function.d.ts +2 -2
- package/dist/index.js +16906 -4
- package/dist/lazy.d.ts +1 -0
- package/dist/math.d.ts +23 -2
- package/dist/plans.d.ts +32 -0
- package/dist/random.d.ts +15 -0
- package/dist/regex.d.ts +28 -2
- package/dist/retry.d.ts +1 -1
- package/dist/sleep.d.ts +3 -7
- package/dist/throttle.d.ts +1 -1
- package/dist/vendors.d.ts +249 -1
- package/package.json +3 -5
package/dist/base.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
1
|
+
export declare function loop(times: number, callback: any): Promise<void>;
|
|
2
|
+
|
|
3
|
+
export { toString } from '@stacksjs/strings'
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare let publishableKey: string;
|
|
2
|
+
export declare function loadCardElement(clientSecret: string): Promise<any>;
|
|
3
|
+
export declare function loadPaymentElement(clientSecret: string): Promise<any>;
|
|
4
|
+
export declare function confirmCardSetup(clientSecret: string, elements: any): Promise<{ setupIntent: any, error: any }>;
|
|
5
|
+
export declare function confirmCardPayment(clientSecret: string, elements: any): Promise<{ paymentIntent: any, error: any }>;
|
|
6
|
+
export declare function createPaymentMethod(elements: any): Promise<{ paymentIntent: any, error: any }>;
|
|
7
|
+
export declare function confirmPayment(elements: any): Promise<{ paymentIntent: any, error: any }>;
|
package/dist/date.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@stacksjs/datetime'
|
package/dist/function.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare function s.forEach(fn
|
|
2
|
-
export declare function tap<T>(value: T, callback: (value: T)
|
|
1
|
+
declare function s.forEach(fn): void;
|
|
2
|
+
export declare function tap<T>(value: T, callback: (value: T)): T;
|