@cimplify/sdk 0.102.0 → 0.104.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/advanced.d.mts +3 -3
- package/dist/advanced.d.ts +3 -3
- package/dist/advanced.js +23 -22
- package/dist/advanced.mjs +4 -3
- package/dist/{chunk-DCMXUKDQ.mjs → chunk-2WPVUIHX.mjs} +455 -105
- package/dist/{chunk-NIOUSKQQ.js → chunk-4BKOKHE3.js} +9 -0
- package/dist/{chunk-YDA46OZ6.js → chunk-5BDYDZ4U.js} +722 -90
- package/dist/{chunk-4KNFBPV2.mjs → chunk-5RT4HYMP.mjs} +61 -15
- package/dist/{chunk-WMEC5JWN.js → chunk-7PDEX54K.js} +50 -13
- package/dist/chunk-CNN7Z2IP.js +125 -0
- package/dist/{chunk-DLW3RWRK.mjs → chunk-DYIAX3WI.mjs} +46 -12
- package/dist/{chunk-LOWSMGRT.js → chunk-E4K2VQDD.js} +64 -16
- package/dist/chunk-GOHSXBKW.mjs +105 -0
- package/dist/{chunk-O3YUHLZL.mjs → chunk-H3RATH4B.mjs} +9 -0
- package/dist/{chunk-YER7DIOM.js → chunk-IQFFSKE2.js} +753 -594
- package/dist/{chunk-Z3K2D3TE.mjs → chunk-OCCNG6MO.mjs} +735 -558
- package/dist/{chunk-DKLHCZ5M.mjs → chunk-OKADBZAI.mjs} +652 -25
- package/dist/{chunk-EAZGA7LD.js → chunk-YVAEY3VC.js} +457 -107
- package/dist/{client-nsiMwuC1.d.ts → client-BVNWjk6W.d.ts} +2 -2
- package/dist/{client-B40KFazg.d.ts → client-BuLcOWLv.d.ts} +202 -319
- package/dist/{client-BizGfqB7.d.mts → client-D5AoobFc.d.mts} +202 -319
- package/dist/{client-BdErclfU.d.mts → client-fM716k7G.d.mts} +2 -2
- package/dist/{index-DpmnI__D.d.mts → index-BtcoqrY1.d.ts} +14 -4
- package/dist/{index-nEyXWIyR.d.ts → index-D7Tf3v7c.d.mts} +14 -4
- package/dist/index.d.mts +83 -8
- package/dist/index.d.ts +83 -8
- package/dist/index.js +203 -169
- package/dist/index.mjs +7 -5
- package/dist/link-D9iSVxt5.d.mts +308 -0
- package/dist/link-D9iSVxt5.d.ts +308 -0
- package/dist/mock/cli.mjs +463 -104
- package/dist/mock/library.js +463 -104
- package/dist/mock/library.mjs +463 -104
- package/dist/mock/msw.js +463 -104
- package/dist/mock/msw.mjs +463 -104
- package/dist/{product-Byf0unSy.d.mts → payment-g0HFkEDU.d.mts} +708 -61
- package/dist/{product-Byf0unSy.d.ts → payment-g0HFkEDU.d.ts} +708 -61
- package/dist/{price-BstChV9a.d.ts → price-BLIeAb8K.d.ts} +1 -1
- package/dist/{price-CS4E5zLS.d.mts → price-Czq_cTC_.d.mts} +1 -1
- package/dist/react.d.mts +4 -4
- package/dist/react.d.ts +4 -4
- package/dist/react.js +194 -169
- package/dist/react.mjs +55 -30
- package/dist/{server-DqbZh8Bk.d.mts → server-BkVhOIwn.d.mts} +14 -10
- package/dist/{server-Cj40R2ZD.d.ts → server-DKK_D-PP.d.ts} +14 -10
- package/dist/server.d.mts +4 -4
- package/dist/server.d.ts +4 -4
- package/dist/server.js +12 -10
- package/dist/server.mjs +6 -4
- package/dist/testing/msw.d.mts +2 -2
- package/dist/testing/msw.d.ts +2 -2
- package/dist/testing/msw.js +4 -3
- package/dist/testing/msw.mjs +3 -2
- package/dist/testing/suite.d.mts +6 -6
- package/dist/testing/suite.d.ts +6 -6
- package/dist/testing/suite.js +26 -25
- package/dist/testing/suite.mjs +7 -6
- package/dist/testing.d.mts +195 -56
- package/dist/testing.d.ts +195 -56
- package/dist/testing.js +95 -82
- package/dist/testing.mjs +14 -9
- package/dist/utils.d.mts +4 -4
- package/dist/utils.d.ts +4 -4
- package/dist/utils.js +37 -29
- package/dist/utils.mjs +2 -2
- package/package.json +7 -1
- package/registry/chat-widget.json +1 -1
- package/dist/payment-l0rkieEQ.d.mts +0 -113
- package/dist/payment-vzNnIi1n.d.ts +0 -113
package/dist/testing.js
CHANGED
|
@@ -1,30 +1,33 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkE4K2VQDD_js = require('./chunk-E4K2VQDD.js');
|
|
4
|
+
require('./chunk-YVAEY3VC.js');
|
|
5
|
+
require('./chunk-5BDYDZ4U.js');
|
|
5
6
|
require('./chunk-XREIZ56K.js');
|
|
6
|
-
require('./chunk-
|
|
7
|
-
require('./chunk-
|
|
8
|
-
require('./chunk-
|
|
9
|
-
require('./chunk-
|
|
7
|
+
require('./chunk-IQFFSKE2.js');
|
|
8
|
+
require('./chunk-CNN7Z2IP.js');
|
|
9
|
+
require('./chunk-7PDEX54K.js');
|
|
10
|
+
require('./chunk-4BKOKHE3.js');
|
|
10
11
|
require('./chunk-OWW5GUSB.js');
|
|
11
12
|
var zod = require('zod');
|
|
12
13
|
|
|
13
14
|
var PUBLIC_SCHEMAS = {
|
|
14
|
-
Brand:
|
|
15
|
-
AddItemPayload:
|
|
16
|
-
Cart:
|
|
17
|
-
CartItem:
|
|
18
|
-
CartPricing:
|
|
19
|
-
CheckoutBody:
|
|
20
|
-
CheckoutResponse:
|
|
21
|
-
VariantInfo:
|
|
15
|
+
Brand: chunkE4K2VQDD_js.BrandSchema,
|
|
16
|
+
AddItemPayload: chunkE4K2VQDD_js.AddItemPayloadSchema,
|
|
17
|
+
Cart: chunkE4K2VQDD_js.CartSchema,
|
|
18
|
+
CartItem: chunkE4K2VQDD_js.CartItemSchema,
|
|
19
|
+
CartPricing: chunkE4K2VQDD_js.CartPricingSchema,
|
|
20
|
+
CheckoutBody: chunkE4K2VQDD_js.CheckoutBodySchema,
|
|
21
|
+
CheckoutResponse: chunkE4K2VQDD_js.CheckoutResponseSchema,
|
|
22
|
+
VariantInfo: chunkE4K2VQDD_js.VariantInfoSchema,
|
|
23
|
+
VerifyOtpRequest: chunkE4K2VQDD_js.VerifyOtpRequestSchema,
|
|
24
|
+
RequestOtpResponse: chunkE4K2VQDD_js.RequestOtpResponseSchema
|
|
22
25
|
};
|
|
23
26
|
function exportJsonSchemas() {
|
|
24
27
|
const out = {};
|
|
25
28
|
for (const [name, schema] of Object.entries(PUBLIC_SCHEMAS)) {
|
|
26
|
-
const meta =
|
|
27
|
-
const json = zod.z.toJSONSchema(schema, { metadata:
|
|
29
|
+
const meta = chunkE4K2VQDD_js.cimplifyRegistry.get(schema);
|
|
30
|
+
const json = zod.z.toJSONSchema(schema, { metadata: chunkE4K2VQDD_js.cimplifyRegistry });
|
|
28
31
|
if (meta) {
|
|
29
32
|
json.$id = meta.id;
|
|
30
33
|
json["x-cimplify-version"] = meta.version;
|
|
@@ -36,16 +39,18 @@ function exportJsonSchemas() {
|
|
|
36
39
|
function listRegisteredSchemas() {
|
|
37
40
|
const entries = [];
|
|
38
41
|
for (const schema of [
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
42
|
+
chunkE4K2VQDD_js.BrandSchema,
|
|
43
|
+
chunkE4K2VQDD_js.AddItemPayloadSchema,
|
|
44
|
+
chunkE4K2VQDD_js.CartSchema,
|
|
45
|
+
chunkE4K2VQDD_js.CartItemSchema,
|
|
46
|
+
chunkE4K2VQDD_js.CartPricingSchema,
|
|
47
|
+
chunkE4K2VQDD_js.CheckoutBodySchema,
|
|
48
|
+
chunkE4K2VQDD_js.CheckoutResponseSchema,
|
|
49
|
+
chunkE4K2VQDD_js.VariantInfoSchema,
|
|
50
|
+
chunkE4K2VQDD_js.VerifyOtpRequestSchema,
|
|
51
|
+
chunkE4K2VQDD_js.RequestOtpResponseSchema
|
|
47
52
|
]) {
|
|
48
|
-
const meta =
|
|
53
|
+
const meta = chunkE4K2VQDD_js.cimplifyRegistry.get(schema);
|
|
49
54
|
if (meta) entries.push({ schema, meta });
|
|
50
55
|
}
|
|
51
56
|
return entries;
|
|
@@ -53,231 +58,239 @@ function listRegisteredSchemas() {
|
|
|
53
58
|
|
|
54
59
|
Object.defineProperty(exports, "AddItemPayloadSchema", {
|
|
55
60
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkE4K2VQDD_js.AddItemPayloadSchema; }
|
|
57
62
|
});
|
|
58
63
|
Object.defineProperty(exports, "AddOnDetailsSchema", {
|
|
59
64
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkE4K2VQDD_js.AddOnDetailsSchema; }
|
|
61
66
|
});
|
|
62
67
|
Object.defineProperty(exports, "AddOnGroupDetailsSchema", {
|
|
63
68
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkE4K2VQDD_js.AddOnGroupDetailsSchema; }
|
|
65
70
|
});
|
|
66
71
|
Object.defineProperty(exports, "AddOnInDetailsSchema", {
|
|
67
72
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkE4K2VQDD_js.AddOnInDetailsSchema; }
|
|
69
74
|
});
|
|
70
75
|
Object.defineProperty(exports, "AddOnOptionDetailsSchema", {
|
|
71
76
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkE4K2VQDD_js.AddOnOptionDetailsSchema; }
|
|
73
78
|
});
|
|
74
79
|
Object.defineProperty(exports, "AuthorizationTypeSchema", {
|
|
75
80
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkE4K2VQDD_js.AuthorizationTypeSchema; }
|
|
77
82
|
});
|
|
78
83
|
Object.defineProperty(exports, "BrandContactSchema", {
|
|
79
84
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkE4K2VQDD_js.BrandContactSchema; }
|
|
81
86
|
});
|
|
82
87
|
Object.defineProperty(exports, "BrandFaqSchema", {
|
|
83
88
|
enumerable: true,
|
|
84
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkE4K2VQDD_js.BrandFaqSchema; }
|
|
85
90
|
});
|
|
86
91
|
Object.defineProperty(exports, "BrandHeroSchema", {
|
|
87
92
|
enumerable: true,
|
|
88
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkE4K2VQDD_js.BrandHeroSchema; }
|
|
89
94
|
});
|
|
90
95
|
Object.defineProperty(exports, "BrandNavLinkSchema", {
|
|
91
96
|
enumerable: true,
|
|
92
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkE4K2VQDD_js.BrandNavLinkSchema; }
|
|
93
98
|
});
|
|
94
99
|
Object.defineProperty(exports, "BrandPolicyPageSchema", {
|
|
95
100
|
enumerable: true,
|
|
96
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunkE4K2VQDD_js.BrandPolicyPageSchema; }
|
|
97
102
|
});
|
|
98
103
|
Object.defineProperty(exports, "BrandPolicySectionSchema", {
|
|
99
104
|
enumerable: true,
|
|
100
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunkE4K2VQDD_js.BrandPolicySectionSchema; }
|
|
101
106
|
});
|
|
102
107
|
Object.defineProperty(exports, "BrandSchema", {
|
|
103
108
|
enumerable: true,
|
|
104
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunkE4K2VQDD_js.BrandSchema; }
|
|
105
110
|
});
|
|
106
111
|
Object.defineProperty(exports, "BrandSocialSchema", {
|
|
107
112
|
enumerable: true,
|
|
108
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunkE4K2VQDD_js.BrandSocialSchema; }
|
|
109
114
|
});
|
|
110
115
|
Object.defineProperty(exports, "BundleResolvedSchema", {
|
|
111
116
|
enumerable: true,
|
|
112
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunkE4K2VQDD_js.BundleResolvedSchema; }
|
|
113
118
|
});
|
|
114
119
|
Object.defineProperty(exports, "BundleSelectionInputSchema", {
|
|
115
120
|
enumerable: true,
|
|
116
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunkE4K2VQDD_js.BundleSelectionInputSchema; }
|
|
117
122
|
});
|
|
118
123
|
Object.defineProperty(exports, "CartItemSchema", {
|
|
119
124
|
enumerable: true,
|
|
120
|
-
get: function () { return
|
|
125
|
+
get: function () { return chunkE4K2VQDD_js.CartItemSchema; }
|
|
121
126
|
});
|
|
122
127
|
Object.defineProperty(exports, "CartPricingSchema", {
|
|
123
128
|
enumerable: true,
|
|
124
|
-
get: function () { return
|
|
129
|
+
get: function () { return chunkE4K2VQDD_js.CartPricingSchema; }
|
|
125
130
|
});
|
|
126
131
|
Object.defineProperty(exports, "CartSchema", {
|
|
127
132
|
enumerable: true,
|
|
128
|
-
get: function () { return
|
|
133
|
+
get: function () { return chunkE4K2VQDD_js.CartSchema; }
|
|
129
134
|
});
|
|
130
135
|
Object.defineProperty(exports, "CheckoutBodySchema", {
|
|
131
136
|
enumerable: true,
|
|
132
|
-
get: function () { return
|
|
137
|
+
get: function () { return chunkE4K2VQDD_js.CheckoutBodySchema; }
|
|
133
138
|
});
|
|
134
139
|
Object.defineProperty(exports, "CheckoutCustomerSchema", {
|
|
135
140
|
enumerable: true,
|
|
136
|
-
get: function () { return
|
|
141
|
+
get: function () { return chunkE4K2VQDD_js.CheckoutCustomerSchema; }
|
|
137
142
|
});
|
|
138
143
|
Object.defineProperty(exports, "CheckoutResponseSchema", {
|
|
139
144
|
enumerable: true,
|
|
140
|
-
get: function () { return
|
|
145
|
+
get: function () { return chunkE4K2VQDD_js.CheckoutResponseSchema; }
|
|
141
146
|
});
|
|
142
147
|
Object.defineProperty(exports, "ChosenPriceSchema", {
|
|
143
148
|
enumerable: true,
|
|
144
|
-
get: function () { return
|
|
149
|
+
get: function () { return chunkE4K2VQDD_js.ChosenPriceSchema; }
|
|
145
150
|
});
|
|
146
151
|
Object.defineProperty(exports, "CompositeResolvedSchema", {
|
|
147
152
|
enumerable: true,
|
|
148
|
-
get: function () { return
|
|
153
|
+
get: function () { return chunkE4K2VQDD_js.CompositeResolvedSchema; }
|
|
149
154
|
});
|
|
150
155
|
Object.defineProperty(exports, "CompositeSelectionInputSchema", {
|
|
151
156
|
enumerable: true,
|
|
152
|
-
get: function () { return
|
|
157
|
+
get: function () { return chunkE4K2VQDD_js.CompositeSelectionInputSchema; }
|
|
153
158
|
});
|
|
154
159
|
Object.defineProperty(exports, "CountryCodeSchema", {
|
|
155
160
|
enumerable: true,
|
|
156
|
-
get: function () { return
|
|
161
|
+
get: function () { return chunkE4K2VQDD_js.CountryCodeSchema; }
|
|
157
162
|
});
|
|
158
163
|
Object.defineProperty(exports, "CurrencyCodeSchema", {
|
|
159
164
|
enumerable: true,
|
|
160
|
-
get: function () { return
|
|
165
|
+
get: function () { return chunkE4K2VQDD_js.CurrencyCodeSchema; }
|
|
161
166
|
});
|
|
162
167
|
Object.defineProperty(exports, "CustomerInputValueSchema", {
|
|
163
168
|
enumerable: true,
|
|
164
|
-
get: function () { return
|
|
169
|
+
get: function () { return chunkE4K2VQDD_js.CustomerInputValueSchema; }
|
|
165
170
|
});
|
|
166
171
|
Object.defineProperty(exports, "DiscountDetailsSchema", {
|
|
167
172
|
enumerable: true,
|
|
168
|
-
get: function () { return
|
|
173
|
+
get: function () { return chunkE4K2VQDD_js.DiscountDetailsSchema; }
|
|
169
174
|
});
|
|
170
175
|
Object.defineProperty(exports, "IsoDateTimeSchema", {
|
|
171
176
|
enumerable: true,
|
|
172
|
-
get: function () { return
|
|
177
|
+
get: function () { return chunkE4K2VQDD_js.IsoDateTimeSchema; }
|
|
173
178
|
});
|
|
174
179
|
Object.defineProperty(exports, "LineTypeSchema", {
|
|
175
180
|
enumerable: true,
|
|
176
|
-
get: function () { return
|
|
181
|
+
get: function () { return chunkE4K2VQDD_js.LineTypeSchema; }
|
|
177
182
|
});
|
|
178
183
|
Object.defineProperty(exports, "LocaleSchema", {
|
|
179
184
|
enumerable: true,
|
|
180
|
-
get: function () { return
|
|
185
|
+
get: function () { return chunkE4K2VQDD_js.LocaleSchema; }
|
|
181
186
|
});
|
|
182
187
|
Object.defineProperty(exports, "MoneyLooseSchema", {
|
|
183
188
|
enumerable: true,
|
|
184
|
-
get: function () { return
|
|
189
|
+
get: function () { return chunkE4K2VQDD_js.MoneyLooseSchema; }
|
|
185
190
|
});
|
|
186
191
|
Object.defineProperty(exports, "MoneySchema", {
|
|
187
192
|
enumerable: true,
|
|
188
|
-
get: function () { return
|
|
193
|
+
get: function () { return chunkE4K2VQDD_js.MoneySchema; }
|
|
189
194
|
});
|
|
190
195
|
Object.defineProperty(exports, "NextActionSchema", {
|
|
191
196
|
enumerable: true,
|
|
192
|
-
get: function () { return
|
|
197
|
+
get: function () { return chunkE4K2VQDD_js.NextActionSchema; }
|
|
193
198
|
});
|
|
194
199
|
Object.defineProperty(exports, "PhoneE164Schema", {
|
|
195
200
|
enumerable: true,
|
|
196
|
-
get: function () { return
|
|
201
|
+
get: function () { return chunkE4K2VQDD_js.PhoneE164Schema; }
|
|
197
202
|
});
|
|
198
203
|
Object.defineProperty(exports, "ProductTypeSchema", {
|
|
199
204
|
enumerable: true,
|
|
200
|
-
get: function () { return
|
|
205
|
+
get: function () { return chunkE4K2VQDD_js.ProductTypeSchema; }
|
|
206
|
+
});
|
|
207
|
+
Object.defineProperty(exports, "RequestOtpResponseSchema", {
|
|
208
|
+
enumerable: true,
|
|
209
|
+
get: function () { return chunkE4K2VQDD_js.RequestOtpResponseSchema; }
|
|
201
210
|
});
|
|
202
211
|
Object.defineProperty(exports, "SchemaViolationError", {
|
|
203
212
|
enumerable: true,
|
|
204
|
-
get: function () { return
|
|
213
|
+
get: function () { return chunkE4K2VQDD_js.SchemaViolationError; }
|
|
205
214
|
});
|
|
206
215
|
Object.defineProperty(exports, "SeedNameSchema", {
|
|
207
216
|
enumerable: true,
|
|
208
|
-
get: function () { return
|
|
217
|
+
get: function () { return chunkE4K2VQDD_js.SeedNameSchema; }
|
|
209
218
|
});
|
|
210
219
|
Object.defineProperty(exports, "SelectedAddOnOptionSchema", {
|
|
211
220
|
enumerable: true,
|
|
212
|
-
get: function () { return
|
|
221
|
+
get: function () { return chunkE4K2VQDD_js.SelectedAddOnOptionSchema; }
|
|
213
222
|
});
|
|
214
223
|
Object.defineProperty(exports, "ServiceStatusSchema", {
|
|
215
224
|
enumerable: true,
|
|
216
|
-
get: function () { return
|
|
225
|
+
get: function () { return chunkE4K2VQDD_js.ServiceStatusSchema; }
|
|
217
226
|
});
|
|
218
227
|
Object.defineProperty(exports, "TaxPriceDisplayModeSchema", {
|
|
219
228
|
enumerable: true,
|
|
220
|
-
get: function () { return
|
|
229
|
+
get: function () { return chunkE4K2VQDD_js.TaxPriceDisplayModeSchema; }
|
|
221
230
|
});
|
|
222
231
|
Object.defineProperty(exports, "TimestampSchema", {
|
|
223
232
|
enumerable: true,
|
|
224
|
-
get: function () { return
|
|
233
|
+
get: function () { return chunkE4K2VQDD_js.TimestampSchema; }
|
|
225
234
|
});
|
|
226
235
|
Object.defineProperty(exports, "VariantDetailsSchema", {
|
|
227
236
|
enumerable: true,
|
|
228
|
-
get: function () { return
|
|
237
|
+
get: function () { return chunkE4K2VQDD_js.VariantDetailsSchema; }
|
|
229
238
|
});
|
|
230
239
|
Object.defineProperty(exports, "VariantDisplayAttributeSchema", {
|
|
231
240
|
enumerable: true,
|
|
232
|
-
get: function () { return
|
|
241
|
+
get: function () { return chunkE4K2VQDD_js.VariantDisplayAttributeSchema; }
|
|
233
242
|
});
|
|
234
243
|
Object.defineProperty(exports, "VariantInfoSchema", {
|
|
235
244
|
enumerable: true,
|
|
236
|
-
get: function () { return
|
|
245
|
+
get: function () { return chunkE4K2VQDD_js.VariantInfoSchema; }
|
|
246
|
+
});
|
|
247
|
+
Object.defineProperty(exports, "VerifyOtpRequestSchema", {
|
|
248
|
+
enumerable: true,
|
|
249
|
+
get: function () { return chunkE4K2VQDD_js.VerifyOtpRequestSchema; }
|
|
237
250
|
});
|
|
238
251
|
Object.defineProperty(exports, "assertAddItemPayload", {
|
|
239
252
|
enumerable: true,
|
|
240
|
-
get: function () { return
|
|
253
|
+
get: function () { return chunkE4K2VQDD_js.assertAddItemPayload; }
|
|
241
254
|
});
|
|
242
255
|
Object.defineProperty(exports, "assertBrand", {
|
|
243
256
|
enumerable: true,
|
|
244
|
-
get: function () { return
|
|
257
|
+
get: function () { return chunkE4K2VQDD_js.assertBrand; }
|
|
245
258
|
});
|
|
246
259
|
Object.defineProperty(exports, "assertCart", {
|
|
247
260
|
enumerable: true,
|
|
248
|
-
get: function () { return
|
|
261
|
+
get: function () { return chunkE4K2VQDD_js.assertCart; }
|
|
249
262
|
});
|
|
250
263
|
Object.defineProperty(exports, "assertCartItem", {
|
|
251
264
|
enumerable: true,
|
|
252
|
-
get: function () { return
|
|
265
|
+
get: function () { return chunkE4K2VQDD_js.assertCartItem; }
|
|
253
266
|
});
|
|
254
267
|
Object.defineProperty(exports, "assertCheckoutBody", {
|
|
255
268
|
enumerable: true,
|
|
256
|
-
get: function () { return
|
|
269
|
+
get: function () { return chunkE4K2VQDD_js.assertCheckoutBody; }
|
|
257
270
|
});
|
|
258
271
|
Object.defineProperty(exports, "assertCheckoutResponse", {
|
|
259
272
|
enumerable: true,
|
|
260
|
-
get: function () { return
|
|
273
|
+
get: function () { return chunkE4K2VQDD_js.assertCheckoutResponse; }
|
|
261
274
|
});
|
|
262
275
|
Object.defineProperty(exports, "cimplifyRegistry", {
|
|
263
276
|
enumerable: true,
|
|
264
|
-
get: function () { return
|
|
277
|
+
get: function () { return chunkE4K2VQDD_js.cimplifyRegistry; }
|
|
265
278
|
});
|
|
266
279
|
Object.defineProperty(exports, "createTestClient", {
|
|
267
280
|
enumerable: true,
|
|
268
|
-
get: function () { return
|
|
281
|
+
get: function () { return chunkE4K2VQDD_js.createTestClient; }
|
|
269
282
|
});
|
|
270
283
|
Object.defineProperty(exports, "fixtures", {
|
|
271
284
|
enumerable: true,
|
|
272
|
-
get: function () { return
|
|
285
|
+
get: function () { return chunkE4K2VQDD_js.fixtures; }
|
|
273
286
|
});
|
|
274
287
|
Object.defineProperty(exports, "makeAssertion", {
|
|
275
288
|
enumerable: true,
|
|
276
|
-
get: function () { return
|
|
289
|
+
get: function () { return chunkE4K2VQDD_js.makeAssertion; }
|
|
277
290
|
});
|
|
278
291
|
Object.defineProperty(exports, "registerSchema", {
|
|
279
292
|
enumerable: true,
|
|
280
|
-
get: function () { return
|
|
293
|
+
get: function () { return chunkE4K2VQDD_js.registerSchema; }
|
|
281
294
|
});
|
|
282
295
|
exports.exportJsonSchemas = exportJsonSchemas;
|
|
283
296
|
exports.listRegisteredSchemas = listRegisteredSchemas;
|
package/dist/testing.mjs
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { VariantInfoSchema, CheckoutResponseSchema, CheckoutBodySchema, CartPricingSchema, CartItemSchema, CartSchema, AddItemPayloadSchema, BrandSchema, cimplifyRegistry } from './chunk-
|
|
2
|
-
export { AddItemPayloadSchema, AddOnDetailsSchema, AddOnGroupDetailsSchema, AddOnInDetailsSchema, AddOnOptionDetailsSchema, AuthorizationTypeSchema, BrandContactSchema, BrandFaqSchema, BrandHeroSchema, BrandNavLinkSchema, BrandPolicyPageSchema, BrandPolicySectionSchema, BrandSchema, BrandSocialSchema, BundleResolvedSchema, BundleSelectionInputSchema, CartItemSchema, CartPricingSchema, CartSchema, CheckoutBodySchema, CheckoutCustomerSchema, CheckoutResponseSchema, ChosenPriceSchema, CompositeResolvedSchema, CompositeSelectionInputSchema, CountryCodeSchema, CurrencyCodeSchema, CustomerInputValueSchema, DiscountDetailsSchema, IsoDateTimeSchema, LineTypeSchema, LocaleSchema, MoneyLooseSchema, MoneySchema, NextActionSchema, PhoneE164Schema, ProductTypeSchema, SchemaViolationError, SeedNameSchema, SelectedAddOnOptionSchema, ServiceStatusSchema, TaxPriceDisplayModeSchema, TimestampSchema, VariantDetailsSchema, VariantDisplayAttributeSchema, VariantInfoSchema, assertAddItemPayload, assertBrand, assertCart, assertCartItem, assertCheckoutBody, assertCheckoutResponse, cimplifyRegistry, createTestClient, fixtures, makeAssertion, registerSchema } from './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
import { RequestOtpResponseSchema, VerifyOtpRequestSchema, VariantInfoSchema, CheckoutResponseSchema, CheckoutBodySchema, CartPricingSchema, CartItemSchema, CartSchema, AddItemPayloadSchema, BrandSchema, cimplifyRegistry } from './chunk-5RT4HYMP.mjs';
|
|
2
|
+
export { AddItemPayloadSchema, AddOnDetailsSchema, AddOnGroupDetailsSchema, AddOnInDetailsSchema, AddOnOptionDetailsSchema, AuthorizationTypeSchema, BrandContactSchema, BrandFaqSchema, BrandHeroSchema, BrandNavLinkSchema, BrandPolicyPageSchema, BrandPolicySectionSchema, BrandSchema, BrandSocialSchema, BundleResolvedSchema, BundleSelectionInputSchema, CartItemSchema, CartPricingSchema, CartSchema, CheckoutBodySchema, CheckoutCustomerSchema, CheckoutResponseSchema, ChosenPriceSchema, CompositeResolvedSchema, CompositeSelectionInputSchema, CountryCodeSchema, CurrencyCodeSchema, CustomerInputValueSchema, DiscountDetailsSchema, IsoDateTimeSchema, LineTypeSchema, LocaleSchema, MoneyLooseSchema, MoneySchema, NextActionSchema, PhoneE164Schema, ProductTypeSchema, RequestOtpResponseSchema, SchemaViolationError, SeedNameSchema, SelectedAddOnOptionSchema, ServiceStatusSchema, TaxPriceDisplayModeSchema, TimestampSchema, VariantDetailsSchema, VariantDisplayAttributeSchema, VariantInfoSchema, VerifyOtpRequestSchema, assertAddItemPayload, assertBrand, assertCart, assertCartItem, assertCheckoutBody, assertCheckoutResponse, cimplifyRegistry, createTestClient, fixtures, makeAssertion, registerSchema } from './chunk-5RT4HYMP.mjs';
|
|
3
|
+
import './chunk-2WPVUIHX.mjs';
|
|
4
|
+
import './chunk-OKADBZAI.mjs';
|
|
4
5
|
import './chunk-U4MW6PYU.mjs';
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
6
|
+
import './chunk-OCCNG6MO.mjs';
|
|
7
|
+
import './chunk-GOHSXBKW.mjs';
|
|
8
|
+
import './chunk-DYIAX3WI.mjs';
|
|
9
|
+
import './chunk-H3RATH4B.mjs';
|
|
9
10
|
import './chunk-3G6RQLXK.mjs';
|
|
10
11
|
import { z } from 'zod';
|
|
11
12
|
|
|
@@ -17,7 +18,9 @@ var PUBLIC_SCHEMAS = {
|
|
|
17
18
|
CartPricing: CartPricingSchema,
|
|
18
19
|
CheckoutBody: CheckoutBodySchema,
|
|
19
20
|
CheckoutResponse: CheckoutResponseSchema,
|
|
20
|
-
VariantInfo: VariantInfoSchema
|
|
21
|
+
VariantInfo: VariantInfoSchema,
|
|
22
|
+
VerifyOtpRequest: VerifyOtpRequestSchema,
|
|
23
|
+
RequestOtpResponse: RequestOtpResponseSchema
|
|
21
24
|
};
|
|
22
25
|
function exportJsonSchemas() {
|
|
23
26
|
const out = {};
|
|
@@ -42,7 +45,9 @@ function listRegisteredSchemas() {
|
|
|
42
45
|
CartPricingSchema,
|
|
43
46
|
CheckoutBodySchema,
|
|
44
47
|
CheckoutResponseSchema,
|
|
45
|
-
VariantInfoSchema
|
|
48
|
+
VariantInfoSchema,
|
|
49
|
+
VerifyOtpRequestSchema,
|
|
50
|
+
RequestOtpResponseSchema
|
|
46
51
|
]) {
|
|
47
52
|
const meta = cimplifyRegistry.get(schema);
|
|
48
53
|
if (meta) entries.push({ schema, meta });
|
package/dist/utils.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { C as CURRENCY_SYMBOLS, M as MOBILE_MONEY_PROVIDERS, c as categorizePaymentError, d as detectMobileMoneyProvider, f as formatMoney,
|
|
2
|
-
import './
|
|
3
|
-
import './price-
|
|
4
|
-
import './
|
|
1
|
+
export { C as CURRENCY_SYMBOLS, a as CanonicalMobileMoneyProvider, M as MOBILE_MONEY_PROVIDERS, c as canonicalMobileMoneyProvider, b as categorizePaymentError, d as detectMobileMoneyProvider, f as formatMoney, e as formatNumberCompact, g as formatPrice, h as formatPriceAdjustment, i as formatPriceCompact, k as formatPriceWithTax, l as formatProductPrice, m as getBasePrice, n as getCurrencySymbol, o as getDiscountPercentage, p as getDisplayPrice, q as getMarkupPercentage, s as getProductCurrency, t as getTaxAmount, v as hasTaxInfo, w as isOnSale, x as isPaymentStatusFailure, y as isPaymentStatusRequiresAction, z as isPaymentStatusSuccess, A as isTaxInclusive, B as isValidPhoneForContext, D as normalizePaymentResponse, E as normalizePhoneToE164, F as normalizeStatusResponse, G as parsePrice, H as paymentAuthorizationUrl, I as resolvePhoneCountryCode } from './index-D7Tf3v7c.mjs';
|
|
2
|
+
import './payment-g0HFkEDU.mjs';
|
|
3
|
+
import './price-Czq_cTC_.mjs';
|
|
4
|
+
import './link-D9iSVxt5.mjs';
|
|
5
5
|
import 'libphonenumber-js';
|
package/dist/utils.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { C as CURRENCY_SYMBOLS, M as MOBILE_MONEY_PROVIDERS, c as categorizePaymentError, d as detectMobileMoneyProvider, f as formatMoney,
|
|
2
|
-
import './
|
|
3
|
-
import './price-
|
|
4
|
-
import './
|
|
1
|
+
export { C as CURRENCY_SYMBOLS, a as CanonicalMobileMoneyProvider, M as MOBILE_MONEY_PROVIDERS, c as canonicalMobileMoneyProvider, b as categorizePaymentError, d as detectMobileMoneyProvider, f as formatMoney, e as formatNumberCompact, g as formatPrice, h as formatPriceAdjustment, i as formatPriceCompact, k as formatPriceWithTax, l as formatProductPrice, m as getBasePrice, n as getCurrencySymbol, o as getDiscountPercentage, p as getDisplayPrice, q as getMarkupPercentage, s as getProductCurrency, t as getTaxAmount, v as hasTaxInfo, w as isOnSale, x as isPaymentStatusFailure, y as isPaymentStatusRequiresAction, z as isPaymentStatusSuccess, A as isTaxInclusive, B as isValidPhoneForContext, D as normalizePaymentResponse, E as normalizePhoneToE164, F as normalizeStatusResponse, G as parsePrice, H as paymentAuthorizationUrl, I as resolvePhoneCountryCode } from './index-BtcoqrY1.js';
|
|
2
|
+
import './payment-g0HFkEDU.js';
|
|
3
|
+
import './price-BLIeAb8K.js';
|
|
4
|
+
import './link-D9iSVxt5.js';
|
|
5
5
|
import 'libphonenumber-js';
|
package/dist/utils.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkL5GKVQVJ_js = require('./chunk-L5GKVQVJ.js');
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
4
|
+
var chunk7PDEX54K_js = require('./chunk-7PDEX54K.js');
|
|
5
|
+
require('./chunk-4BKOKHE3.js');
|
|
6
6
|
require('./chunk-OWW5GUSB.js');
|
|
7
7
|
|
|
8
8
|
|
|
@@ -21,109 +21,117 @@ Object.defineProperty(exports, "resolvePhoneCountryCode", {
|
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "CURRENCY_SYMBOLS", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunk7PDEX54K_js.CURRENCY_SYMBOLS; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "MOBILE_MONEY_PROVIDERS", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunk7PDEX54K_js.MOBILE_MONEY_PROVIDERS; }
|
|
29
|
+
});
|
|
30
|
+
Object.defineProperty(exports, "canonicalMobileMoneyProvider", {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function () { return chunk7PDEX54K_js.canonicalMobileMoneyProvider; }
|
|
29
33
|
});
|
|
30
34
|
Object.defineProperty(exports, "categorizePaymentError", {
|
|
31
35
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunk7PDEX54K_js.categorizePaymentError; }
|
|
33
37
|
});
|
|
34
38
|
Object.defineProperty(exports, "detectMobileMoneyProvider", {
|
|
35
39
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunk7PDEX54K_js.detectMobileMoneyProvider; }
|
|
37
41
|
});
|
|
38
42
|
Object.defineProperty(exports, "formatMoney", {
|
|
39
43
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunk7PDEX54K_js.formatMoney; }
|
|
41
45
|
});
|
|
42
46
|
Object.defineProperty(exports, "formatNumberCompact", {
|
|
43
47
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunk7PDEX54K_js.formatNumberCompact; }
|
|
45
49
|
});
|
|
46
50
|
Object.defineProperty(exports, "formatPrice", {
|
|
47
51
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunk7PDEX54K_js.formatPrice; }
|
|
49
53
|
});
|
|
50
54
|
Object.defineProperty(exports, "formatPriceAdjustment", {
|
|
51
55
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunk7PDEX54K_js.formatPriceAdjustment; }
|
|
53
57
|
});
|
|
54
58
|
Object.defineProperty(exports, "formatPriceCompact", {
|
|
55
59
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunk7PDEX54K_js.formatPriceCompact; }
|
|
57
61
|
});
|
|
58
62
|
Object.defineProperty(exports, "formatPriceWithTax", {
|
|
59
63
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunk7PDEX54K_js.formatPriceWithTax; }
|
|
61
65
|
});
|
|
62
66
|
Object.defineProperty(exports, "formatProductPrice", {
|
|
63
67
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunk7PDEX54K_js.formatProductPrice; }
|
|
65
69
|
});
|
|
66
70
|
Object.defineProperty(exports, "getBasePrice", {
|
|
67
71
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunk7PDEX54K_js.getBasePrice; }
|
|
69
73
|
});
|
|
70
74
|
Object.defineProperty(exports, "getCurrencySymbol", {
|
|
71
75
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunk7PDEX54K_js.getCurrencySymbol; }
|
|
73
77
|
});
|
|
74
78
|
Object.defineProperty(exports, "getDiscountPercentage", {
|
|
75
79
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
80
|
+
get: function () { return chunk7PDEX54K_js.getDiscountPercentage; }
|
|
77
81
|
});
|
|
78
82
|
Object.defineProperty(exports, "getDisplayPrice", {
|
|
79
83
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
84
|
+
get: function () { return chunk7PDEX54K_js.getDisplayPrice; }
|
|
81
85
|
});
|
|
82
86
|
Object.defineProperty(exports, "getMarkupPercentage", {
|
|
83
87
|
enumerable: true,
|
|
84
|
-
get: function () { return
|
|
88
|
+
get: function () { return chunk7PDEX54K_js.getMarkupPercentage; }
|
|
85
89
|
});
|
|
86
90
|
Object.defineProperty(exports, "getProductCurrency", {
|
|
87
91
|
enumerable: true,
|
|
88
|
-
get: function () { return
|
|
92
|
+
get: function () { return chunk7PDEX54K_js.getProductCurrency; }
|
|
89
93
|
});
|
|
90
94
|
Object.defineProperty(exports, "getTaxAmount", {
|
|
91
95
|
enumerable: true,
|
|
92
|
-
get: function () { return
|
|
96
|
+
get: function () { return chunk7PDEX54K_js.getTaxAmount; }
|
|
93
97
|
});
|
|
94
98
|
Object.defineProperty(exports, "hasTaxInfo", {
|
|
95
99
|
enumerable: true,
|
|
96
|
-
get: function () { return
|
|
100
|
+
get: function () { return chunk7PDEX54K_js.hasTaxInfo; }
|
|
97
101
|
});
|
|
98
102
|
Object.defineProperty(exports, "isOnSale", {
|
|
99
103
|
enumerable: true,
|
|
100
|
-
get: function () { return
|
|
104
|
+
get: function () { return chunk7PDEX54K_js.isOnSale; }
|
|
101
105
|
});
|
|
102
106
|
Object.defineProperty(exports, "isPaymentStatusFailure", {
|
|
103
107
|
enumerable: true,
|
|
104
|
-
get: function () { return
|
|
108
|
+
get: function () { return chunk7PDEX54K_js.isPaymentStatusFailure; }
|
|
105
109
|
});
|
|
106
110
|
Object.defineProperty(exports, "isPaymentStatusRequiresAction", {
|
|
107
111
|
enumerable: true,
|
|
108
|
-
get: function () { return
|
|
112
|
+
get: function () { return chunk7PDEX54K_js.isPaymentStatusRequiresAction; }
|
|
109
113
|
});
|
|
110
114
|
Object.defineProperty(exports, "isPaymentStatusSuccess", {
|
|
111
115
|
enumerable: true,
|
|
112
|
-
get: function () { return
|
|
116
|
+
get: function () { return chunk7PDEX54K_js.isPaymentStatusSuccess; }
|
|
113
117
|
});
|
|
114
118
|
Object.defineProperty(exports, "isTaxInclusive", {
|
|
115
119
|
enumerable: true,
|
|
116
|
-
get: function () { return
|
|
120
|
+
get: function () { return chunk7PDEX54K_js.isTaxInclusive; }
|
|
117
121
|
});
|
|
118
122
|
Object.defineProperty(exports, "normalizePaymentResponse", {
|
|
119
123
|
enumerable: true,
|
|
120
|
-
get: function () { return
|
|
124
|
+
get: function () { return chunk7PDEX54K_js.normalizePaymentResponse; }
|
|
121
125
|
});
|
|
122
126
|
Object.defineProperty(exports, "normalizeStatusResponse", {
|
|
123
127
|
enumerable: true,
|
|
124
|
-
get: function () { return
|
|
128
|
+
get: function () { return chunk7PDEX54K_js.normalizeStatusResponse; }
|
|
125
129
|
});
|
|
126
130
|
Object.defineProperty(exports, "parsePrice", {
|
|
127
131
|
enumerable: true,
|
|
128
|
-
get: function () { return
|
|
132
|
+
get: function () { return chunk7PDEX54K_js.parsePrice; }
|
|
133
|
+
});
|
|
134
|
+
Object.defineProperty(exports, "paymentAuthorizationUrl", {
|
|
135
|
+
enumerable: true,
|
|
136
|
+
get: function () { return chunk7PDEX54K_js.paymentAuthorizationUrl; }
|
|
129
137
|
});
|
package/dist/utils.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { isValidPhoneForContext, normalizePhoneToE164, resolvePhoneCountryCode } from './chunk-YOIVZ6OA.mjs';
|
|
2
|
-
export { CURRENCY_SYMBOLS, MOBILE_MONEY_PROVIDERS, categorizePaymentError, detectMobileMoneyProvider, formatMoney, formatNumberCompact, formatPrice, formatPriceAdjustment, formatPriceCompact, formatPriceWithTax, formatProductPrice, getBasePrice, getCurrencySymbol, getDiscountPercentage, getDisplayPrice, getMarkupPercentage, getProductCurrency, getTaxAmount, hasTaxInfo, isOnSale, isPaymentStatusFailure, isPaymentStatusRequiresAction, isPaymentStatusSuccess, isTaxInclusive, normalizePaymentResponse, normalizeStatusResponse, parsePrice } from './chunk-
|
|
3
|
-
import './chunk-
|
|
2
|
+
export { CURRENCY_SYMBOLS, MOBILE_MONEY_PROVIDERS, canonicalMobileMoneyProvider, categorizePaymentError, detectMobileMoneyProvider, formatMoney, formatNumberCompact, formatPrice, formatPriceAdjustment, formatPriceCompact, formatPriceWithTax, formatProductPrice, getBasePrice, getCurrencySymbol, getDiscountPercentage, getDisplayPrice, getMarkupPercentage, getProductCurrency, getTaxAmount, hasTaxInfo, isOnSale, isPaymentStatusFailure, isPaymentStatusRequiresAction, isPaymentStatusSuccess, isTaxInclusive, normalizePaymentResponse, normalizeStatusResponse, parsePrice, paymentAuthorizationUrl } from './chunk-DYIAX3WI.mjs';
|
|
3
|
+
import './chunk-H3RATH4B.mjs';
|
|
4
4
|
import './chunk-3G6RQLXK.mjs';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cimplify/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.104.0",
|
|
4
4
|
"description": "Cimplify Commerce SDK for storefronts",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cimplify",
|
|
@@ -120,6 +120,7 @@
|
|
|
120
120
|
},
|
|
121
121
|
"peerDependencies": {
|
|
122
122
|
"@paystack/inline-js": "^2.23.0",
|
|
123
|
+
"@stripe/stripe-js": "^9.12.0",
|
|
123
124
|
"react": ">=17.0.0",
|
|
124
125
|
"msw": ">=2.0.0",
|
|
125
126
|
"vitest": ">=2.0.0",
|
|
@@ -129,6 +130,9 @@
|
|
|
129
130
|
"@paystack/inline-js": {
|
|
130
131
|
"optional": true
|
|
131
132
|
},
|
|
133
|
+
"@stripe/stripe-js": {
|
|
134
|
+
"optional": true
|
|
135
|
+
},
|
|
132
136
|
"react": {
|
|
133
137
|
"optional": true
|
|
134
138
|
},
|
|
@@ -147,6 +151,8 @@
|
|
|
147
151
|
"@hono/node-server": "^2.0.5",
|
|
148
152
|
"@opennextjs/aws": "^4.0.3",
|
|
149
153
|
"@opennextjs/cloudflare": "^1.19.11",
|
|
154
|
+
"@paystack/inline-js": "^2.23.0",
|
|
155
|
+
"@stripe/stripe-js": "^9.12.0",
|
|
150
156
|
"@tailwindcss/cli": "4.3.1",
|
|
151
157
|
"@testing-library/dom": "^10.4.1",
|
|
152
158
|
"@testing-library/react": "^16.3.2",
|