@paywithglide/glide-react 0.0.25 → 0.0.27

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.
@@ -99,6 +99,7 @@ export type GlideDepositOptions = {
99
99
  token: Hex;
100
100
  amount: bigint;
101
101
  };
102
+ gasRefuelAmount?: string;
102
103
  sessionMetadata?: string;
103
104
  preferGaslessPayment?: boolean;
104
105
  excludeChainIds?: CAIP2[];
package/dist/glide.js CHANGED
@@ -5,27 +5,27 @@ import { useMemo as P } from "react";
5
5
  function ee(s, { strict: t = !0 } = {}) {
6
6
  return !s || typeof s != "string" ? !1 : t ? /^0x[0-9a-fA-F]*$/.test(s) : s.startsWith("0x");
7
7
  }
8
- function K(s) {
8
+ function R(s) {
9
9
  return ee(s, { strict: !1 }) ? Math.ceil((s.length - 2) / 2) : s.length;
10
10
  }
11
- const N = "2.21.51";
12
- let $ = {
11
+ const K = "2.21.51";
12
+ let x = {
13
13
  getDocsUrl: ({ docsBaseUrl: s, docsPath: t = "", docsSlug: e }) => t ? `${s ?? "https://viem.sh"}${t}${e ? `#${e}` : ""}` : void 0,
14
- version: `viem@${N}`
14
+ version: `viem@${K}`
15
15
  };
16
- class v extends Error {
16
+ class $ extends Error {
17
17
  constructor(t, e = {}) {
18
18
  var a;
19
19
  const i = (() => {
20
20
  var n;
21
- return e.cause instanceof v ? e.cause.details : (n = e.cause) != null && n.message ? e.cause.message : e.details;
22
- })(), r = e.cause instanceof v && e.cause.docsPath || e.docsPath, o = (a = $.getDocsUrl) == null ? void 0 : a.call($, { ...e, docsPath: r }), c = [
21
+ return e.cause instanceof $ ? e.cause.details : (n = e.cause) != null && n.message ? e.cause.message : e.details;
22
+ })(), r = e.cause instanceof $ && e.cause.docsPath || e.docsPath, o = (a = x.getDocsUrl) == null ? void 0 : a.call(x, { ...e, docsPath: r }), c = [
23
23
  t || "An error occurred.",
24
24
  "",
25
25
  ...e.metaMessages ? [...e.metaMessages, ""] : [],
26
26
  ...o ? [`Docs: ${o}`] : [],
27
27
  ...i ? [`Details: ${i}`] : [],
28
- ...$.version ? [`Version: ${$.version}`] : []
28
+ ...x.version ? [`Version: ${x.version}`] : []
29
29
  ].join(`
30
30
  `);
31
31
  super(c, e.cause ? { cause: e.cause } : void 0), Object.defineProperty(this, "details", {
@@ -58,16 +58,16 @@ class v extends Error {
58
58
  configurable: !0,
59
59
  writable: !0,
60
60
  value: "BaseError"
61
- }), this.details = i, this.docsPath = r, this.metaMessages = e.metaMessages, this.name = e.name ?? this.name, this.shortMessage = t, this.version = N;
61
+ }), this.details = i, this.docsPath = r, this.metaMessages = e.metaMessages, this.name = e.name ?? this.name, this.shortMessage = t, this.version = K;
62
62
  }
63
63
  walk(t) {
64
- return R(this, t);
64
+ return N(this, t);
65
65
  }
66
66
  }
67
- function R(s, t) {
68
- return t != null && t(s) ? s : s && typeof s == "object" && "cause" in s && s.cause !== void 0 ? R(s.cause, t) : t ? null : s;
67
+ function N(s, t) {
68
+ return t != null && t(s) ? s : s && typeof s == "object" && "cause" in s && s.cause !== void 0 ? N(s.cause, t) : t ? null : s;
69
69
  }
70
- class F extends v {
70
+ class F extends $ {
71
71
  constructor({ size: t, targetSize: e, type: i }) {
72
72
  super(`${i.charAt(0).toUpperCase()}${i.slice(1).toLowerCase()} size (${t}) exceeds padding size (${e}).`, { name: "SizeExceedsPaddingSizeError" });
73
73
  }
@@ -103,26 +103,26 @@ function se(s, { dir: t, size: e = 32 } = {}) {
103
103
  }
104
104
  return i;
105
105
  }
106
- class ie extends v {
106
+ class ie extends $ {
107
107
  constructor({ max: t, min: e, signed: i, size: r, value: o }) {
108
108
  super(`Number "${o}" is not in safe ${r ? `${r * 8}-bit ${i ? "signed" : "unsigned"} ` : ""}integer range ${t ? `(${e} to ${t})` : `(above ${e})`}`, { name: "IntegerOutOfRangeError" });
109
109
  }
110
110
  }
111
- class re extends v {
111
+ class re extends $ {
112
112
  constructor({ givenSize: t, maxSize: e }) {
113
113
  super(`Size cannot exceed ${e} bytes. Given size: ${t} bytes.`, { name: "SizeOverflowError" });
114
114
  }
115
115
  }
116
116
  function V(s, { size: t }) {
117
- if (K(s) > t)
117
+ if (R(s) > t)
118
118
  throw new re({
119
- givenSize: K(s),
119
+ givenSize: R(s),
120
120
  maxSize: t
121
121
  });
122
122
  }
123
123
  const oe = /* @__PURE__ */ Array.from({ length: 256 }, (s, t) => t.toString(16).padStart(2, "0"));
124
124
  function ne(s, t = {}) {
125
- return typeof s == "number" || typeof s == "bigint" ? ce(s, t) : typeof s == "string" ? le(s, t) : typeof s == "boolean" ? ae(s, t) : q(s, t);
125
+ return typeof s == "number" || typeof s == "bigint" ? ce(s, t) : typeof s == "string" ? de(s, t) : typeof s == "boolean" ? ae(s, t) : q(s, t);
126
126
  }
127
127
  function ae(s, t = {}) {
128
128
  const e = `0x${Number(s)}`;
@@ -153,9 +153,9 @@ function ce(s, t = {}) {
153
153
  const a = `0x${(e && r < 0 ? (1n << BigInt(i * 8)) + BigInt(r) : r).toString(16)}`;
154
154
  return i ? E(a, { size: i }) : a;
155
155
  }
156
- const de = /* @__PURE__ */ new TextEncoder();
157
- function le(s, t = {}) {
158
- const e = de.encode(s);
156
+ const le = /* @__PURE__ */ new TextEncoder();
157
+ function de(s, t = {}) {
158
+ const e = le.encode(s);
159
159
  return q(e, t);
160
160
  }
161
161
  class S {
@@ -173,16 +173,16 @@ class S {
173
173
  }
174
174
  });
175
175
  I(this, "iframeEventHandler", async (t) => {
176
- var i, r, o, c, a, n, p, h, u, m, f, g, d, b, w, y, x, k, U, z, M, T, D, A, G, j, B, C, W, H, L, O;
176
+ var i, r, o, c, a, n, p, h, u, m, f, g, l, b, y, w, v, k, U, z, A, M, T, D, G, j, B, C, W, H, L, O;
177
177
  const e = t.data;
178
178
  switch (e.type) {
179
179
  case "sendInit": {
180
- const l = this.opts.recipient, X = (i = this.opts.walletProvider) == null ? void 0 : i.address, J = (r = this.opts.walletProvider) == null ? void 0 : r.availableChainIds, Q = (o = this.opts.walletProvider) == null ? void 0 : o.currentChainId, Y = this.opts.preferGaslessPayment || !!((c = this.opts.walletProvider) != null && c.signTypedDataAsync);
180
+ const d = this.opts.recipient, X = (i = this.opts.walletProvider) == null ? void 0 : i.address, J = (r = this.opts.walletProvider) == null ? void 0 : r.availableChainIds, Q = (o = this.opts.walletProvider) == null ? void 0 : o.currentChainId, Y = this.opts.preferGaslessPayment || !!((c = this.opts.walletProvider) != null && c.signTypedDataAsync);
181
181
  (n = (a = this.iframe) == null ? void 0 : a.contentWindow) == null || n.postMessage(
182
182
  {
183
183
  type: "initialize",
184
184
  sessionId: this.opts.sessionId,
185
- recipient: l,
185
+ recipient: d,
186
186
  connectedWalletAddress: X,
187
187
  availableChainIds: J,
188
188
  currentChainId: Q,
@@ -199,7 +199,8 @@ class S {
199
199
  theme: this.opts.theme,
200
200
  didProvideLocalStorage: !!this.opts.localStorageProvider,
201
201
  debug: this.opts.debug,
202
- popupsBlocked: this.opts.popupsBlocked
202
+ popupsBlocked: this.opts.popupsBlocked,
203
+ gasRefuelAmount: this.opts.gasRefuelAmount
203
204
  },
204
205
  new URL(this.baseUrl).origin
205
206
  ), this.iframe.style.opacity = "1", (h = (p = this.opts).onOpen) == null || h.call(p);
@@ -208,11 +209,11 @@ class S {
208
209
  case "localStorage.getKeys": {
209
210
  if (!this.opts.localStorageProvider)
210
211
  throw new Error("localStorageProvider is not set");
211
- const l = await this.opts.localStorageProvider.getKeys();
212
+ const d = await this.opts.localStorageProvider.getKeys();
212
213
  (m = (u = this.iframe) == null ? void 0 : u.contentWindow) == null || m.postMessage(
213
214
  {
214
215
  type: "localStorage.didGetKeys",
215
- keys: l
216
+ keys: d
216
217
  },
217
218
  this.baseUrl
218
219
  );
@@ -234,25 +235,25 @@ class S {
234
235
  case "localStorage.getItem": {
235
236
  if (!this.opts.localStorageProvider)
236
237
  throw new Error("localStorageProvider is not set");
237
- const l = await this.opts.localStorageProvider.getItem(e.key);
238
+ const d = await this.opts.localStorageProvider.getItem(e.key);
238
239
  (g = (f = this.iframe) == null ? void 0 : f.contentWindow) == null || g.postMessage(
239
240
  {
240
241
  type: "localStorage.didGetItem",
241
242
  key: e.key,
242
- value: l
243
+ value: d
243
244
  },
244
245
  this.baseUrl
245
246
  );
246
247
  break;
247
248
  }
248
249
  case "success":
249
- (b = (d = this.opts) == null ? void 0 : d.onSuccess) == null || b.call(d, e.hash);
250
+ (b = (l = this.opts) == null ? void 0 : l.onSuccess) == null || b.call(l, e.hash);
250
251
  break;
251
252
  case "close":
252
- this.removeIframe(), this.destroy(), (y = (w = this.opts) == null ? void 0 : w.onClose) == null || y.call(w);
253
+ this.removeIframe(), this.destroy(), (w = (y = this.opts) == null ? void 0 : y.onClose) == null || w.call(y);
253
254
  break;
254
255
  case "setMode":
255
- (k = (x = this.opts) == null ? void 0 : x.onSetMode) == null || k.call(x, e.mode);
256
+ (k = (v = this.opts) == null ? void 0 : v.onSetMode) == null || k.call(v, e.mode);
256
257
  break;
257
258
  case "switchChain":
258
259
  if (!this.opts.walletProvider)
@@ -268,12 +269,12 @@ class S {
268
269
  },
269
270
  this.baseUrl
270
271
  );
271
- } catch (l) {
272
- (T = (M = this.iframe) == null ? void 0 : M.contentWindow) == null || T.postMessage(
272
+ } catch (d) {
273
+ (M = (A = this.iframe) == null ? void 0 : A.contentWindow) == null || M.postMessage(
273
274
  {
274
275
  type: "didSwitchChain",
275
276
  success: !1,
276
- error: l
277
+ error: d
277
278
  },
278
279
  this.baseUrl
279
280
  );
@@ -284,23 +285,23 @@ class S {
284
285
  if (!this.opts.walletProvider)
285
286
  throw new Error("walletProvider is not set");
286
287
  try {
287
- const l = await this.opts.walletProvider.sendTransactionAsync(
288
+ const d = await this.opts.walletProvider.sendTransactionAsync(
288
289
  e.tx
289
290
  );
290
- (A = (D = this.iframe) == null ? void 0 : D.contentWindow) == null || A.postMessage(
291
+ (D = (T = this.iframe) == null ? void 0 : T.contentWindow) == null || D.postMessage(
291
292
  {
292
293
  type: "didSendTransaction",
293
294
  success: !0,
294
- txHash: l
295
+ txHash: d
295
296
  },
296
297
  this.baseUrl
297
298
  );
298
- } catch (l) {
299
+ } catch (d) {
299
300
  (j = (G = this.iframe) == null ? void 0 : G.contentWindow) == null || j.postMessage(
300
301
  {
301
302
  type: "didSendTransaction",
302
303
  success: !1,
303
- error: l
304
+ error: d
304
305
  },
305
306
  this.baseUrl
306
307
  );
@@ -323,23 +324,23 @@ class S {
323
324
  return;
324
325
  }
325
326
  try {
326
- const l = await this.opts.walletProvider.signTypedDataAsync(
327
+ const d = await this.opts.walletProvider.signTypedDataAsync(
327
328
  e.data
328
329
  );
329
330
  (H = (W = this.iframe) == null ? void 0 : W.contentWindow) == null || H.postMessage(
330
331
  {
331
332
  type: "didSignTypedData",
332
333
  success: !0,
333
- signature: l
334
+ signature: d
334
335
  },
335
336
  this.baseUrl
336
337
  );
337
- } catch (l) {
338
+ } catch (d) {
338
339
  (O = (L = this.iframe) == null ? void 0 : L.contentWindow) == null || O.postMessage(
339
340
  {
340
341
  type: "didSignTypedData",
341
342
  success: !1,
342
- error: l
343
+ error: d
343
344
  },
344
345
  this.baseUrl
345
346
  );
@@ -354,7 +355,7 @@ class S {
354
355
  var t, e, i;
355
356
  return `${this.baseUrl}${this.opts.app}?${this.opts.recipient ? `&recipient=${this.opts.recipient}` : ""}${this.opts.preferGaslessPayment ? "&preferGaslessPayment=true" : ""}${this.opts.mode ? `&mode=${this.opts.mode}` : ""}${this.opts.amount ? `&amount=${this.opts.amount}` : ""}${this.opts.evm ? `&evm.chainId=${this.opts.evm.chainId}&evm.to=${this.opts.evm.to}&evm.data=${this.opts.evm.data || "0x0"}&evm.value=${ne(
356
357
  this.opts.evm.value || 0n
357
- )}` : ""}${this.opts.approval ? `&approval.token=${this.opts.approval.token}&approval.amount=${this.opts.approval.amount}` : ""}${this.opts.sessionMetadata ? `&metadata=${this.opts.sessionMetadata}` : ""}${this.opts.autoCloseOnSuccess ? "&autoCloseOnSuccess=true" : ""}${this.opts.sessionId ? `&sessionId=${this.opts.sessionId}` : ""}${(t = this.opts.excludeChainIds) != null && t.length ? `&excludeChainIds=${this.opts.excludeChainIds.join(",")}` : ""}${(e = this.opts.excludeCurrencyTiers) != null && e.length ? `&excludeCurrencyTiers=${this.opts.excludeCurrencyTiers.join(",")}` : ""}${(i = this.opts.excludeFundingSources) != null && i.length ? `&excludeFundingSources=${this.opts.excludeFundingSources.join(",")}` : ""}${this.opts.debug ? "debug=true" : ""}${this.opts.popupsBlocked ? "popupsBlocked=true" : ""}`;
358
+ )}` : ""}${this.opts.approval ? `&approval.token=${this.opts.approval.token}&approval.amount=${this.opts.approval.amount}` : ""}${this.opts.sessionMetadata ? `&metadata=${this.opts.sessionMetadata}` : ""}${this.opts.autoCloseOnSuccess ? "&autoCloseOnSuccess=true" : ""}${this.opts.sessionId ? `&sessionId=${this.opts.sessionId}` : ""}${(t = this.opts.excludeChainIds) != null && t.length ? `&excludeChainIds=${this.opts.excludeChainIds.join(",")}` : ""}${(e = this.opts.excludeCurrencyTiers) != null && e.length ? `&excludeCurrencyTiers=${this.opts.excludeCurrencyTiers.join(",")}` : ""}${(i = this.opts.excludeFundingSources) != null && i.length ? `&excludeFundingSources=${this.opts.excludeFundingSources.join(",")}` : ""}${this.opts.debug ? "debug=true" : ""}${this.opts.popupsBlocked ? "popupsBlocked=true" : ""}${this.opts.gasRefuelAmount ? `&gasRefuelAmount=${this.opts.gasRefuelAmount}` : ""}`;
358
359
  }
359
360
  initialize() {
360
361
  window.addEventListener("message", this.iframeEventHandler);
@@ -392,41 +393,43 @@ class S {
392
393
  const ue = ({
393
394
  app: s,
394
395
  recipient: t,
395
- preferGaslessPayment: e,
396
- excludeChainIds: i,
397
- excludeCurrencyTiers: r,
398
- excludeFundingSources: o,
399
- mode: c,
400
- sessionMetadata: a,
401
- theme: n,
402
- walletProvider: p,
403
- localStorageProvider: h,
404
- onOpen: u,
405
- onSuccess: m,
406
- onClose: f,
407
- autoCloseOnSuccess: g,
408
- popupsBlocked: d,
409
- baseUrl: b,
396
+ gasRefuelAmount: e,
397
+ preferGaslessPayment: i,
398
+ excludeChainIds: r,
399
+ excludeCurrencyTiers: o,
400
+ excludeFundingSources: c,
401
+ mode: a,
402
+ sessionMetadata: n,
403
+ theme: p,
404
+ walletProvider: h,
405
+ localStorageProvider: u,
406
+ onOpen: m,
407
+ onSuccess: f,
408
+ onClose: g,
409
+ autoCloseOnSuccess: l,
410
+ popupsBlocked: b,
411
+ baseUrl: y,
410
412
  debug: w
411
413
  }) => {
412
- const y = P(() => new S({
414
+ const v = P(() => new S({
413
415
  app: s,
414
416
  recipient: t,
415
- preferGaslessPayment: e,
416
- excludeChainIds: i,
417
- excludeCurrencyTiers: r,
418
- excludeFundingSources: o,
419
- mode: c,
420
- sessionMetadata: a,
421
- theme: n,
422
- walletProvider: p,
423
- localStorageProvider: h,
424
- onOpen: u,
425
- onSuccess: m,
426
- onClose: f,
427
- autoCloseOnSuccess: g,
428
- popupsBlocked: d,
429
- baseUrl: b,
417
+ gasRefuelAmount: e,
418
+ preferGaslessPayment: i,
419
+ excludeChainIds: r,
420
+ excludeCurrencyTiers: o,
421
+ excludeFundingSources: c,
422
+ mode: a,
423
+ sessionMetadata: n,
424
+ theme: p,
425
+ walletProvider: h,
426
+ localStorageProvider: u,
427
+ onOpen: m,
428
+ onSuccess: f,
429
+ onClose: g,
430
+ autoCloseOnSuccess: l,
431
+ popupsBlocked: b,
432
+ baseUrl: y,
430
433
  debug: w
431
434
  }), [
432
435
  s,
@@ -444,14 +447,15 @@ const ue = ({
444
447
  m,
445
448
  f,
446
449
  g,
447
- d,
450
+ l,
448
451
  b,
452
+ y,
449
453
  w
450
454
  ]);
451
455
  return {
452
- openGlideDeposit: y.open,
453
- externalUrl: y.externalUrl,
454
- opts: y.opts
456
+ openGlideDeposit: v.open,
457
+ externalUrl: v.externalUrl,
458
+ opts: v.opts
455
459
  };
456
460
  }, me = ({
457
461
  app: s,
@@ -469,11 +473,11 @@ const ue = ({
469
473
  onSuccess: m,
470
474
  onClose: f,
471
475
  autoCloseOnSuccess: g,
472
- popupsBlocked: d,
476
+ popupsBlocked: l,
473
477
  baseUrl: b,
474
- debug: w
478
+ debug: y
475
479
  }) => {
476
- const y = P(() => new S({
480
+ const w = P(() => new S({
477
481
  app: s,
478
482
  preferGaslessPayment: t,
479
483
  excludeChainIds: e,
@@ -490,9 +494,9 @@ const ue = ({
490
494
  onSuccess: m,
491
495
  onClose: f,
492
496
  autoCloseOnSuccess: g,
493
- popupsBlocked: d,
497
+ popupsBlocked: l,
494
498
  baseUrl: b,
495
- debug: w
499
+ debug: y
496
500
  }), [
497
501
  s,
498
502
  t,
@@ -509,14 +513,14 @@ const ue = ({
509
513
  m,
510
514
  f,
511
515
  g,
512
- d,
516
+ l,
513
517
  b,
514
- w
518
+ y
515
519
  ]);
516
520
  return {
517
- openGlidePay: y.open,
518
- externalUrl: y.externalUrl,
519
- opts: y.opts
521
+ openGlidePay: w.open,
522
+ externalUrl: w.externalUrl,
523
+ opts: w.opts
520
524
  };
521
525
  }, fe = ({
522
526
  app: s,
@@ -534,11 +538,11 @@ const ue = ({
534
538
  onSuccess: m,
535
539
  onClose: f,
536
540
  autoCloseOnSuccess: g,
537
- popupsBlocked: d,
541
+ popupsBlocked: l,
538
542
  baseUrl: b,
539
- debug: w
543
+ debug: y
540
544
  }) => {
541
- const y = P(() => new S({
545
+ const w = P(() => new S({
542
546
  app: s,
543
547
  evm: t,
544
548
  approval: e,
@@ -555,9 +559,9 @@ const ue = ({
555
559
  onSuccess: m,
556
560
  onClose: f,
557
561
  autoCloseOnSuccess: g,
558
- popupsBlocked: d,
562
+ popupsBlocked: l,
559
563
  baseUrl: b,
560
- debug: w
564
+ debug: y
561
565
  }), [
562
566
  s,
563
567
  t,
@@ -574,14 +578,14 @@ const ue = ({
574
578
  m,
575
579
  f,
576
580
  g,
577
- d,
581
+ l,
578
582
  b,
579
- w
583
+ y
580
584
  ]);
581
585
  return {
582
- openGlideCall: y.open,
583
- externalUrl: y.externalUrl,
584
- opts: y.opts
586
+ openGlideCall: w.open,
587
+ externalUrl: w.externalUrl,
588
+ opts: w.opts
585
589
  };
586
590
  }, ge = ({
587
591
  app: s,
@@ -600,7 +604,7 @@ const ue = ({
600
604
  autoCloseOnSuccess: f,
601
605
  baseUrl: g
602
606
  }) => {
603
- const d = P(() => new S({
607
+ const l = P(() => new S({
604
608
  app: s,
605
609
  recipient: t,
606
610
  preferGaslessPayment: e,
@@ -635,9 +639,9 @@ const ue = ({
635
639
  g
636
640
  ]);
637
641
  return {
638
- openGlideBuy: d.open,
639
- externalUrl: d.externalUrl,
640
- opts: d.opts
642
+ openGlideBuy: l.open,
643
+ externalUrl: l.externalUrl,
644
+ opts: l.opts
641
645
  };
642
646
  }, ye = Object.freeze({
643
647
  getItem: (s) => new Promise((t, e) => {
@@ -4,6 +4,7 @@ import { CAIP2 } from '@paywithglide/glide-js';
4
4
  interface UseGlideDepositProps {
5
5
  app: string;
6
6
  recipient?: string;
7
+ gasRefuelAmount?: string;
7
8
  preferGaslessPayment?: boolean;
8
9
  excludeChainIds?: CAIP2[];
9
10
  excludeCurrencyTiers?: ("tier1" | "tier2" | "tier3")[];
@@ -21,7 +22,7 @@ interface UseGlideDepositProps {
21
22
  baseUrl?: string;
22
23
  debug?: boolean;
23
24
  }
24
- export declare const useGlideDeposit: ({ app, recipient, preferGaslessPayment, excludeChainIds, excludeCurrencyTiers, excludeFundingSources, mode, sessionMetadata, theme, walletProvider, localStorageProvider, onOpen, onSuccess, onClose, autoCloseOnSuccess, popupsBlocked, baseUrl, debug, }: UseGlideDepositProps) => {
25
+ export declare const useGlideDeposit: ({ app, recipient, gasRefuelAmount, preferGaslessPayment, excludeChainIds, excludeCurrencyTiers, excludeFundingSources, mode, sessionMetadata, theme, walletProvider, localStorageProvider, onOpen, onSuccess, onClose, autoCloseOnSuccess, popupsBlocked, baseUrl, debug, }: UseGlideDepositProps) => {
25
26
  openGlideDeposit: () => void;
26
27
  externalUrl: string;
27
28
  opts: import('./GlideDeposit.ts').GlideDepositOptions;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paywithglide/glide-react",
3
- "version": "0.0.25",
3
+ "version": "0.0.27",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"