@agnostack/next-shopify 1.14.0-beta.9 → 1.14.1-beta.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.
Files changed (76) hide show
  1. package/CHANGELOG.md +324 -0
  2. package/dist/lib/handlers/api/billing.d.ts.map +1 -1
  3. package/dist/lib/handlers/api/billing.js +3 -5
  4. package/dist/lib/handlers/api/billing.js.map +1 -1
  5. package/dist/lib/handlers/api/index.d.ts +1 -5
  6. package/dist/lib/handlers/api/index.d.ts.map +1 -1
  7. package/dist/lib/handlers/api/index.js +1 -6
  8. package/dist/lib/handlers/api/index.js.map +1 -1
  9. package/dist/lib/handlers/api/uninstall.d.ts.map +1 -1
  10. package/dist/lib/handlers/api/uninstall.js +3 -4
  11. package/dist/lib/handlers/api/uninstall.js.map +1 -1
  12. package/dist/lib/handlers/api/verifiable/appInstallation.d.ts.map +1 -0
  13. package/dist/lib/handlers/api/{appInstallation.js → verifiable/appInstallation.js} +1 -1
  14. package/dist/lib/handlers/api/verifiable/appInstallation.js.map +1 -0
  15. package/dist/lib/handlers/api/verifiable/graph.d.ts.map +1 -0
  16. package/dist/lib/handlers/api/{graph.js → verifiable/graph.js} +13 -14
  17. package/dist/lib/handlers/api/verifiable/graph.js.map +1 -0
  18. package/dist/lib/handlers/api/verifiable/index.d.ts +5 -0
  19. package/dist/lib/handlers/api/verifiable/index.js +8 -5
  20. package/dist/lib/handlers/api/verifiable/index.js.map +1 -1
  21. package/dist/lib/handlers/api/verifiable/proxy.d.ts.map +1 -0
  22. package/dist/lib/handlers/api/{proxy.js → verifiable/proxy.js} +19 -13
  23. package/dist/lib/handlers/api/verifiable/proxy.js.map +1 -0
  24. package/dist/lib/handlers/api/verifiable/rest.d.ts.map +1 -0
  25. package/dist/lib/handlers/api/{rest.js → verifiable/rest.js} +12 -9
  26. package/dist/lib/handlers/api/verifiable/rest.js.map +1 -0
  27. package/dist/lib/handlers/api/{token.d.ts → verifiable/token.d.ts} +1 -1
  28. package/dist/lib/handlers/api/verifiable/token.d.ts.map +1 -0
  29. package/dist/lib/handlers/api/{token.js → verifiable/token.js} +10 -14
  30. package/dist/lib/handlers/api/verifiable/token.js.map +1 -0
  31. package/dist/lib/handlers/api/webhook.d.ts.map +1 -1
  32. package/dist/lib/handlers/api/webhook.js +2 -4
  33. package/dist/lib/handlers/api/webhook.js.map +1 -1
  34. package/dist/lib/index.d.ts +1 -1
  35. package/dist/lib/index.d.ts.map +1 -1
  36. package/dist/lib/index.js +3 -2
  37. package/dist/lib/index.js.map +1 -1
  38. package/dist/lib/utils/index.d.ts +1 -0
  39. package/dist/lib/utils/index.js +1 -0
  40. package/dist/lib/utils/index.js.map +1 -1
  41. package/dist/lib/utils/request.d.ts +2 -0
  42. package/dist/lib/utils/request.d.ts.map +1 -0
  43. package/dist/lib/utils/request.js +19 -0
  44. package/dist/lib/utils/request.js.map +1 -0
  45. package/dist/lib/utils/token.d.ts +3 -1
  46. package/dist/lib/utils/token.d.ts.map +1 -1
  47. package/dist/lib/utils/token.js +26 -24
  48. package/dist/lib/utils/token.js.map +1 -1
  49. package/dist/lib/utils/verification.d.ts +1 -1
  50. package/dist/lib/utils/verification.d.ts.map +1 -1
  51. package/dist/lib/utils/verification.js +19 -27
  52. package/dist/lib/utils/verification.js.map +1 -1
  53. package/dist/lib/withShopify.d.ts.map +1 -1
  54. package/dist/lib/withShopify.js +5 -3
  55. package/dist/lib/withShopify.js.map +1 -1
  56. package/dist/react/hooks/useVerification.d.ts +2 -2
  57. package/dist/react/hooks/useVerification.d.ts.map +1 -1
  58. package/dist/react/hooks/useVerification.js +8 -7
  59. package/dist/react/hooks/useVerification.js.map +1 -1
  60. package/dist/shared/display.js +1 -1
  61. package/dist/shared/display.js.map +1 -1
  62. package/package.json +1 -1
  63. package/dist/lib/handlers/api/appInstallation.d.ts.map +0 -1
  64. package/dist/lib/handlers/api/appInstallation.js.map +0 -1
  65. package/dist/lib/handlers/api/graph.d.ts.map +0 -1
  66. package/dist/lib/handlers/api/graph.js.map +0 -1
  67. package/dist/lib/handlers/api/proxy.d.ts.map +0 -1
  68. package/dist/lib/handlers/api/proxy.js.map +0 -1
  69. package/dist/lib/handlers/api/rest.d.ts.map +0 -1
  70. package/dist/lib/handlers/api/rest.js.map +0 -1
  71. package/dist/lib/handlers/api/token.d.ts.map +0 -1
  72. package/dist/lib/handlers/api/token.js.map +0 -1
  73. /package/dist/lib/handlers/api/{appInstallation.d.ts → verifiable/appInstallation.d.ts} +0 -0
  74. /package/dist/lib/handlers/api/{graph.d.ts → verifiable/graph.d.ts} +0 -0
  75. /package/dist/lib/handlers/api/{proxy.d.ts → verifiable/proxy.d.ts} +0 -0
  76. /package/dist/lib/handlers/api/{rest.d.ts → verifiable/rest.d.ts} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,3 +1,327 @@
1
+ ## [1.14.1-beta.1](https://github.com/agnostack/next-shopify/compare/v1.14.0...v1.14.1-beta.1) (2023-12-06)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * wip ([4ddf4db](https://github.com/agnostack/next-shopify/commit/4ddf4db0f368adc29caf2e9c21a42fc710a5b37a))
7
+
8
+ # [1.14.0](https://github.com/agnostack/next-shopify/compare/v1.13.11...v1.14.0) (2023-12-06)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * added react export and useVerification ([7131369](https://github.com/agnostack/next-shopify/commit/71313698da5b30b94a0b28fa9a0d6e595e16c5bd))
14
+ * reverted pubblic-key vs api-key ([b3b40ac](https://github.com/agnostack/next-shopify/commit/b3b40ace673090d321635e011818ea130b7ddd3c))
15
+ * wip ([0411a41](https://github.com/agnostack/next-shopify/commit/0411a412f41f3fdf918b7dd8a754c490b046deb4))
16
+ * wip ([6ac8855](https://github.com/agnostack/next-shopify/commit/6ac88552bc5f3a2f02d5d652a4b6faa2175bbf72))
17
+ * wip ([01f3211](https://github.com/agnostack/next-shopify/commit/01f3211c884251df01dcf604b681fff2c9b6be6f))
18
+ * wip ([49ef4f4](https://github.com/agnostack/next-shopify/commit/49ef4f418a81eb30aa8ab31968e0e96842f7532f))
19
+ * wip ([5d4d8f4](https://github.com/agnostack/next-shopify/commit/5d4d8f411fae34852841e09ae57fb58910351d8d))
20
+ * wip ([2d7cc64](https://github.com/agnostack/next-shopify/commit/2d7cc64330e48d1de42f2dfa358fa172564aeea2))
21
+ * wip ([74a60e5](https://github.com/agnostack/next-shopify/commit/74a60e507c91e15a37d7a2294b431bbbf48e751b))
22
+ * wip ([92bedc2](https://github.com/agnostack/next-shopify/commit/92bedc2c6c204bcfd69d9323af573788482d9976))
23
+ * wip ([a672c2c](https://github.com/agnostack/next-shopify/commit/a672c2c18390088648ad2ce99dc87d918edc4620))
24
+ * wip ([0542c81](https://github.com/agnostack/next-shopify/commit/0542c819cce56689986e833a21da9cb830a01790))
25
+ * wip ([76afe24](https://github.com/agnostack/next-shopify/commit/76afe244c05fd5700791231799a81cca118e15d1))
26
+ * wip ([d9d3156](https://github.com/agnostack/next-shopify/commit/d9d315644a414c9319f209dcbae811d87a441d3e))
27
+ * wip ([d207a40](https://github.com/agnostack/next-shopify/commit/d207a407ee2ff67798dc7ca0c99c9b1f696d04e4))
28
+ * wip ([76b39b2](https://github.com/agnostack/next-shopify/commit/76b39b220e0b530d471c5fbd8742abe7b2929312))
29
+ * wip ([91193c5](https://github.com/agnostack/next-shopify/commit/91193c50d4bea8657f83aaa05ed8ab557401a0c4))
30
+ * wip ([69874a8](https://github.com/agnostack/next-shopify/commit/69874a8d54cd6ba65c7fe5afb24c449a859fe996))
31
+ * wip ([722708f](https://github.com/agnostack/next-shopify/commit/722708f510f9124528e103de7a77c99061a429e4))
32
+ * wip ([73f2da5](https://github.com/agnostack/next-shopify/commit/73f2da59c18f4572ceb4d7f6f45192376c3d5ebf))
33
+ * wip ([68704b3](https://github.com/agnostack/next-shopify/commit/68704b372cc3dd31db00656f0ef9e4e7612b4811))
34
+ * wip ([951d798](https://github.com/agnostack/next-shopify/commit/951d7980bf06d92e649d2d9d97bc81b1398210fe))
35
+ * wip ([82a1f40](https://github.com/agnostack/next-shopify/commit/82a1f4072da77d85288f5c463bb7adb79ba1a131))
36
+ * wip ([2458099](https://github.com/agnostack/next-shopify/commit/24580997efeab454c5190053cb3ccc19de1c8005))
37
+ * wip ([a7f802e](https://github.com/agnostack/next-shopify/commit/a7f802e8865097a65ebd65dd1a6de14f5e200a6c))
38
+ * wip ([79651bb](https://github.com/agnostack/next-shopify/commit/79651bba427d53fb4d968abfafeb54a49936150f))
39
+ * wip ([ef83a5e](https://github.com/agnostack/next-shopify/commit/ef83a5ed06fc483dda64298e1d8fdd1148feb2a6))
40
+ * wip ([216f72e](https://github.com/agnostack/next-shopify/commit/216f72e32f9c511435ea4aafe77491b0514b0027))
41
+ * wip ([b698605](https://github.com/agnostack/next-shopify/commit/b69860585316ff94b2e78c0137d92c16e7bd152f))
42
+ * wip ([b391569](https://github.com/agnostack/next-shopify/commit/b3915692ff3fa8a072fb7fcfd2797ba261c3a7ee))
43
+ * wip ([a116ece](https://github.com/agnostack/next-shopify/commit/a116ece5a5e1ca710cdb573a4fd5499fdee26777))
44
+ * wip ([5c6ad79](https://github.com/agnostack/next-shopify/commit/5c6ad79e340d12dc53e70c0cd7f9ef7fdddf8aed))
45
+ * wip ([b936bb3](https://github.com/agnostack/next-shopify/commit/b936bb3131d45b451a8f359bc9bed7c64dcd714e))
46
+ * wip ([58a91e2](https://github.com/agnostack/next-shopify/commit/58a91e228d0bed2ca726cbff2296e3a3500b02a7))
47
+ * wip ([b87f159](https://github.com/agnostack/next-shopify/commit/b87f15987010b492ca9daf3209031a50f29e63f7))
48
+ * wip ([158d4ff](https://github.com/agnostack/next-shopify/commit/158d4ffc6e11d1394c8274039c7b8f0840894b9c))
49
+ * wip ([02e4858](https://github.com/agnostack/next-shopify/commit/02e485860157a650a9b6742c574382450387263c))
50
+ * wip ([6aead6b](https://github.com/agnostack/next-shopify/commit/6aead6bf360e71eb0277713b42463b871c8c9175))
51
+ * wip ([7f122f5](https://github.com/agnostack/next-shopify/commit/7f122f5ea42da4fb90c2f192f8db3ad7530270d4))
52
+ * wip ([6269ccc](https://github.com/agnostack/next-shopify/commit/6269ccc0ac80e47d75e8dd491af68b758e34d91a))
53
+ * wip ([88ff531](https://github.com/agnostack/next-shopify/commit/88ff531191e82c7f0735257f9cc98b2eea4b7092))
54
+ * wip ([bb5fa6a](https://github.com/agnostack/next-shopify/commit/bb5fa6a859ea8358fb4683c1f6d7d77f994f2d1e))
55
+ * wip ([40a4d13](https://github.com/agnostack/next-shopify/commit/40a4d13b1186042e2c1983a826f04a742448e745))
56
+ * wip ([c28c0a0](https://github.com/agnostack/next-shopify/commit/c28c0a0c5416b0dcb7040fb9e12583a44916e1a1))
57
+ * wip ([4b5f06c](https://github.com/agnostack/next-shopify/commit/4b5f06cdeb2e6faa6cfd7f40c8962b8f9312cfc3))
58
+ * wip ([088e2f8](https://github.com/agnostack/next-shopify/commit/088e2f84ecb27dc435f1d9a7e1a53eb955fc6fd6))
59
+ * wip ([b0eb414](https://github.com/agnostack/next-shopify/commit/b0eb414b9a3c3d02aaef66b72569dba6c1bdccb0))
60
+ * wip ([cd8d260](https://github.com/agnostack/next-shopify/commit/cd8d260f40672cc066da5695c7a72a790f71d4a1))
61
+ * wip ([f8d453a](https://github.com/agnostack/next-shopify/commit/f8d453a850ead76d6d2c536fe1f8f472f380c1c6))
62
+ * wip ([82e20e8](https://github.com/agnostack/next-shopify/commit/82e20e8e9878ac7f9424ff990e8959c3cbe66e9d))
63
+ * wip ([ecd3625](https://github.com/agnostack/next-shopify/commit/ecd36257e4cde1bbdea48b895934e82ecedf0612))
64
+ * wip ([825f688](https://github.com/agnostack/next-shopify/commit/825f688f614be631c13a70e1c652c45f742408ed))
65
+ * wip ([a66af1e](https://github.com/agnostack/next-shopify/commit/a66af1e574e9e1cc08b2718c4a49f46caf42db9f))
66
+ * wip ([ab11674](https://github.com/agnostack/next-shopify/commit/ab116749073075133350e46d272b5475bb6e9d1b))
67
+
68
+
69
+ ### Features
70
+
71
+ * separated out verifiable helpers ([9db80b9](https://github.com/agnostack/next-shopify/commit/9db80b90debc1712259d95afd8c82ac6822049ef))
72
+
73
+ # [1.14.0-beta.45](https://github.com/agnostack/next-shopify/compare/v1.14.0-beta.44...v1.14.0-beta.45) (2023-12-06)
74
+
75
+
76
+ ### Bug Fixes
77
+
78
+ * wip ([0411a41](https://github.com/agnostack/next-shopify/commit/0411a412f41f3fdf918b7dd8a754c490b046deb4))
79
+
80
+ # [1.14.0-beta.44](https://github.com/agnostack/next-shopify/compare/v1.14.0-beta.43...v1.14.0-beta.44) (2023-12-05)
81
+
82
+
83
+ ### Bug Fixes
84
+
85
+ * wip ([6ac8855](https://github.com/agnostack/next-shopify/commit/6ac88552bc5f3a2f02d5d652a4b6faa2175bbf72))
86
+
87
+ # [1.14.0-beta.43](https://github.com/agnostack/next-shopify/compare/v1.14.0-beta.42...v1.14.0-beta.43) (2023-12-05)
88
+
89
+
90
+ ### Bug Fixes
91
+
92
+ * wip ([01f3211](https://github.com/agnostack/next-shopify/commit/01f3211c884251df01dcf604b681fff2c9b6be6f))
93
+
94
+ # [1.14.0-beta.42](https://github.com/agnostack/next-shopify/compare/v1.14.0-beta.41...v1.14.0-beta.42) (2023-12-05)
95
+
96
+
97
+ ### Bug Fixes
98
+
99
+ * wip ([49ef4f4](https://github.com/agnostack/next-shopify/commit/49ef4f418a81eb30aa8ab31968e0e96842f7532f))
100
+
101
+ # [1.14.0-beta.41](https://github.com/agnostack/next-shopify/compare/v1.14.0-beta.40...v1.14.0-beta.41) (2023-12-05)
102
+
103
+
104
+ ### Bug Fixes
105
+
106
+ * wip ([5d4d8f4](https://github.com/agnostack/next-shopify/commit/5d4d8f411fae34852841e09ae57fb58910351d8d))
107
+
108
+ # [1.14.0-beta.40](https://github.com/agnostack/next-shopify/compare/v1.14.0-beta.39...v1.14.0-beta.40) (2023-12-05)
109
+
110
+
111
+ ### Bug Fixes
112
+
113
+ * wip ([2d7cc64](https://github.com/agnostack/next-shopify/commit/2d7cc64330e48d1de42f2dfa358fa172564aeea2))
114
+
115
+ # [1.14.0-beta.39](https://github.com/agnostack/next-shopify/compare/v1.14.0-beta.38...v1.14.0-beta.39) (2023-12-05)
116
+
117
+
118
+ ### Bug Fixes
119
+
120
+ * wip ([74a60e5](https://github.com/agnostack/next-shopify/commit/74a60e507c91e15a37d7a2294b431bbbf48e751b))
121
+
122
+ # [1.14.0-beta.38](https://github.com/agnostack/next-shopify/compare/v1.14.0-beta.37...v1.14.0-beta.38) (2023-12-05)
123
+
124
+
125
+ ### Bug Fixes
126
+
127
+ * wip ([92bedc2](https://github.com/agnostack/next-shopify/commit/92bedc2c6c204bcfd69d9323af573788482d9976))
128
+
129
+ # [1.14.0-beta.37](https://github.com/agnostack/next-shopify/compare/v1.14.0-beta.36...v1.14.0-beta.37) (2023-12-05)
130
+
131
+
132
+ ### Bug Fixes
133
+
134
+ * wip ([a672c2c](https://github.com/agnostack/next-shopify/commit/a672c2c18390088648ad2ce99dc87d918edc4620))
135
+
136
+ # [1.14.0-beta.36](https://github.com/agnostack/next-shopify/compare/v1.14.0-beta.35...v1.14.0-beta.36) (2023-12-05)
137
+
138
+
139
+ ### Bug Fixes
140
+
141
+ * wip ([0542c81](https://github.com/agnostack/next-shopify/commit/0542c819cce56689986e833a21da9cb830a01790))
142
+
143
+ # [1.14.0-beta.35](https://github.com/agnostack/next-shopify/compare/v1.14.0-beta.34...v1.14.0-beta.35) (2023-12-05)
144
+
145
+
146
+ ### Bug Fixes
147
+
148
+ * wip ([76afe24](https://github.com/agnostack/next-shopify/commit/76afe244c05fd5700791231799a81cca118e15d1))
149
+
150
+ # [1.14.0-beta.34](https://github.com/agnostack/next-shopify/compare/v1.14.0-beta.33...v1.14.0-beta.34) (2023-12-05)
151
+
152
+
153
+ ### Bug Fixes
154
+
155
+ * wip ([d9d3156](https://github.com/agnostack/next-shopify/commit/d9d315644a414c9319f209dcbae811d87a441d3e))
156
+
157
+ # [1.14.0-beta.33](https://github.com/agnostack/next-shopify/compare/v1.14.0-beta.32...v1.14.0-beta.33) (2023-12-05)
158
+
159
+
160
+ ### Bug Fixes
161
+
162
+ * wip ([d207a40](https://github.com/agnostack/next-shopify/commit/d207a407ee2ff67798dc7ca0c99c9b1f696d04e4))
163
+
164
+ # [1.14.0-beta.32](https://github.com/agnostack/next-shopify/compare/v1.14.0-beta.31...v1.14.0-beta.32) (2023-12-05)
165
+
166
+
167
+ ### Bug Fixes
168
+
169
+ * wip ([76b39b2](https://github.com/agnostack/next-shopify/commit/76b39b220e0b530d471c5fbd8742abe7b2929312))
170
+
171
+ # [1.14.0-beta.31](https://github.com/agnostack/next-shopify/compare/v1.14.0-beta.30...v1.14.0-beta.31) (2023-12-05)
172
+
173
+
174
+ ### Bug Fixes
175
+
176
+ * wip ([91193c5](https://github.com/agnostack/next-shopify/commit/91193c50d4bea8657f83aaa05ed8ab557401a0c4))
177
+
178
+ # [1.14.0-beta.30](https://github.com/agnostack/next-shopify/compare/v1.14.0-beta.29...v1.14.0-beta.30) (2023-12-05)
179
+
180
+
181
+ ### Bug Fixes
182
+
183
+ * wip ([69874a8](https://github.com/agnostack/next-shopify/commit/69874a8d54cd6ba65c7fe5afb24c449a859fe996))
184
+
185
+ # [1.14.0-beta.29](https://github.com/agnostack/next-shopify/compare/v1.14.0-beta.28...v1.14.0-beta.29) (2023-12-05)
186
+
187
+
188
+ ### Bug Fixes
189
+
190
+ * wip ([722708f](https://github.com/agnostack/next-shopify/commit/722708f510f9124528e103de7a77c99061a429e4))
191
+
192
+ # [1.14.0-beta.28](https://github.com/agnostack/next-shopify/compare/v1.14.0-beta.27...v1.14.0-beta.28) (2023-12-05)
193
+
194
+
195
+ ### Bug Fixes
196
+
197
+ * wip ([73f2da5](https://github.com/agnostack/next-shopify/commit/73f2da59c18f4572ceb4d7f6f45192376c3d5ebf))
198
+
199
+ # [1.14.0-beta.27](https://github.com/agnostack/next-shopify/compare/v1.14.0-beta.26...v1.14.0-beta.27) (2023-12-05)
200
+
201
+
202
+ ### Bug Fixes
203
+
204
+ * wip ([68704b3](https://github.com/agnostack/next-shopify/commit/68704b372cc3dd31db00656f0ef9e4e7612b4811))
205
+
206
+ # [1.14.0-beta.26](https://github.com/agnostack/next-shopify/compare/v1.14.0-beta.25...v1.14.0-beta.26) (2023-12-05)
207
+
208
+
209
+ ### Bug Fixes
210
+
211
+ * wip ([951d798](https://github.com/agnostack/next-shopify/commit/951d7980bf06d92e649d2d9d97bc81b1398210fe))
212
+
213
+ # [1.14.0-beta.25](https://github.com/agnostack/next-shopify/compare/v1.14.0-beta.24...v1.14.0-beta.25) (2023-12-05)
214
+
215
+
216
+ ### Bug Fixes
217
+
218
+ * wip ([82a1f40](https://github.com/agnostack/next-shopify/commit/82a1f4072da77d85288f5c463bb7adb79ba1a131))
219
+
220
+ # [1.14.0-beta.24](https://github.com/agnostack/next-shopify/compare/v1.14.0-beta.23...v1.14.0-beta.24) (2023-12-05)
221
+
222
+
223
+ ### Bug Fixes
224
+
225
+ * wip ([2458099](https://github.com/agnostack/next-shopify/commit/24580997efeab454c5190053cb3ccc19de1c8005))
226
+
227
+ # [1.14.0-beta.23](https://github.com/agnostack/next-shopify/compare/v1.14.0-beta.22...v1.14.0-beta.23) (2023-12-05)
228
+
229
+
230
+ ### Bug Fixes
231
+
232
+ * wip ([a7f802e](https://github.com/agnostack/next-shopify/commit/a7f802e8865097a65ebd65dd1a6de14f5e200a6c))
233
+
234
+ # [1.14.0-beta.22](https://github.com/agnostack/next-shopify/compare/v1.14.0-beta.21...v1.14.0-beta.22) (2023-12-05)
235
+
236
+
237
+ ### Bug Fixes
238
+
239
+ * wip ([79651bb](https://github.com/agnostack/next-shopify/commit/79651bba427d53fb4d968abfafeb54a49936150f))
240
+
241
+ # [1.14.0-beta.21](https://github.com/agnostack/next-shopify/compare/v1.14.0-beta.20...v1.14.0-beta.21) (2023-12-05)
242
+
243
+
244
+ ### Bug Fixes
245
+
246
+ * wip ([ef83a5e](https://github.com/agnostack/next-shopify/commit/ef83a5ed06fc483dda64298e1d8fdd1148feb2a6))
247
+
248
+ # [1.14.0-beta.20](https://github.com/agnostack/next-shopify/compare/v1.14.0-beta.19...v1.14.0-beta.20) (2023-12-05)
249
+
250
+
251
+ ### Bug Fixes
252
+
253
+ * wip ([216f72e](https://github.com/agnostack/next-shopify/commit/216f72e32f9c511435ea4aafe77491b0514b0027))
254
+
255
+ # [1.14.0-beta.19](https://github.com/agnostack/next-shopify/compare/v1.14.0-beta.18...v1.14.0-beta.19) (2023-12-05)
256
+
257
+
258
+ ### Bug Fixes
259
+
260
+ * wip ([b698605](https://github.com/agnostack/next-shopify/commit/b69860585316ff94b2e78c0137d92c16e7bd152f))
261
+
262
+ # [1.14.0-beta.18](https://github.com/agnostack/next-shopify/compare/v1.14.0-beta.17...v1.14.0-beta.18) (2023-12-05)
263
+
264
+
265
+ ### Bug Fixes
266
+
267
+ * wip ([b391569](https://github.com/agnostack/next-shopify/commit/b3915692ff3fa8a072fb7fcfd2797ba261c3a7ee))
268
+
269
+ # [1.14.0-beta.17](https://github.com/agnostack/next-shopify/compare/v1.14.0-beta.16...v1.14.0-beta.17) (2023-12-05)
270
+
271
+
272
+ ### Bug Fixes
273
+
274
+ * wip ([a116ece](https://github.com/agnostack/next-shopify/commit/a116ece5a5e1ca710cdb573a4fd5499fdee26777))
275
+
276
+ # [1.14.0-beta.16](https://github.com/agnostack/next-shopify/compare/v1.14.0-beta.15...v1.14.0-beta.16) (2023-12-05)
277
+
278
+
279
+ ### Bug Fixes
280
+
281
+ * wip ([5c6ad79](https://github.com/agnostack/next-shopify/commit/5c6ad79e340d12dc53e70c0cd7f9ef7fdddf8aed))
282
+
283
+ # [1.14.0-beta.15](https://github.com/agnostack/next-shopify/compare/v1.14.0-beta.14...v1.14.0-beta.15) (2023-12-05)
284
+
285
+
286
+ ### Bug Fixes
287
+
288
+ * wip ([b936bb3](https://github.com/agnostack/next-shopify/commit/b936bb3131d45b451a8f359bc9bed7c64dcd714e))
289
+
290
+ # [1.14.0-beta.14](https://github.com/agnostack/next-shopify/compare/v1.14.0-beta.13...v1.14.0-beta.14) (2023-12-04)
291
+
292
+
293
+ ### Bug Fixes
294
+
295
+ * wip ([58a91e2](https://github.com/agnostack/next-shopify/commit/58a91e228d0bed2ca726cbff2296e3a3500b02a7))
296
+
297
+ # [1.14.0-beta.13](https://github.com/agnostack/next-shopify/compare/v1.14.0-beta.12...v1.14.0-beta.13) (2023-12-04)
298
+
299
+
300
+ ### Bug Fixes
301
+
302
+ * wip ([b87f159](https://github.com/agnostack/next-shopify/commit/b87f15987010b492ca9daf3209031a50f29e63f7))
303
+
304
+ # [1.14.0-beta.12](https://github.com/agnostack/next-shopify/compare/v1.14.0-beta.11...v1.14.0-beta.12) (2023-12-04)
305
+
306
+
307
+ ### Bug Fixes
308
+
309
+ * wip ([158d4ff](https://github.com/agnostack/next-shopify/commit/158d4ffc6e11d1394c8274039c7b8f0840894b9c))
310
+
311
+ # [1.14.0-beta.11](https://github.com/agnostack/next-shopify/compare/v1.14.0-beta.10...v1.14.0-beta.11) (2023-12-04)
312
+
313
+
314
+ ### Bug Fixes
315
+
316
+ * wip ([02e4858](https://github.com/agnostack/next-shopify/commit/02e485860157a650a9b6742c574382450387263c))
317
+
318
+ # [1.14.0-beta.10](https://github.com/agnostack/next-shopify/compare/v1.14.0-beta.9...v1.14.0-beta.10) (2023-12-04)
319
+
320
+
321
+ ### Bug Fixes
322
+
323
+ * wip ([6aead6b](https://github.com/agnostack/next-shopify/commit/6aead6bf360e71eb0277713b42463b871c8c9175))
324
+
1
325
  # [1.14.0-beta.9](https://github.com/agnostack/next-shopify/compare/v1.14.0-beta.8...v1.14.0-beta.9) (2023-12-04)
2
326
 
3
327
 
@@ -1 +1 @@
1
- {"version":3,"file":"billing.d.ts","sourceRoot":"","sources":["../../../../src/lib/handlers/api/billing.js"],"names":[],"mappings":"AAeO,iGA2DN"}
1
+ {"version":3,"file":"billing.d.ts","sourceRoot":"","sources":["../../../../src/lib/handlers/api/billing.js"],"names":[],"mappings":"AAcO,iGAyDN"}
@@ -2,7 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.handleAppBilling = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const raw_body_1 = tslib_1.__importDefault(require("raw-body"));
6
5
  const utils_1 = require("../../utils");
7
6
  const shared_1 = require("../../../shared");
8
7
  const TERMINAL_STATUSES = [
@@ -19,9 +18,8 @@ const handleAppBilling = (serverRuntimeConfig) => (req, res) => tslib_1.__awaite
19
18
  return res.status(200).json({ handler: 'billing', error: 'Missing shop' });
20
19
  }
21
20
  const { shopify, loadSession, updateSession, getVerifiedClients } = yield (0, utils_1.getShopifyHelpers)(serverRuntimeConfig, { shop });
22
- // NOTE raw request body is required for Shopify webhook validation
23
- const _rawBody = yield (0, raw_body_1.default)(req);
24
- const rawBody = _rawBody.toString();
21
+ // TODO: explore getVerifiedBody?
22
+ const rawBody = yield (0, utils_1.ensureRawBody)(req);
25
23
  const _b = yield shopify.webhooks.validate({
26
24
  rawBody,
27
25
  rawRequest: req,
@@ -30,7 +28,7 @@ const handleAppBilling = (serverRuntimeConfig) => (req, res) => tslib_1.__awaite
30
28
  if (valid) {
31
29
  try {
32
30
  let message = 'ignored';
33
- const [eventType, { status } = {}] = Object.entries(JSON.parse(rawBody))[0];
31
+ const [eventType, { status } = {}] = Object.entries((0, shared_1.safeParse)(rawBody || '{}'))[0];
34
32
  if ((eventType === shared_1.BILLING_EVENT_TYPES.SUBSCRIPTION) && TERMINAL_STATUSES.includes(status)) {
35
33
  const { Rest } = yield getVerifiedClients();
36
34
  // NOTE: this deletes the app in the case of subscription apps in a "terminal" state to cover the info in ShopifyApi docs for billing:
@@ -1 +1 @@
1
- {"version":3,"file":"billing.js","sourceRoot":"","sources":["../../../../src/lib/handlers/api/billing.js"],"names":[],"mappings":";;;;AAAA,gEAAiC;AAEjC,uCAA+C;AAC/C,4CAGwB;AAExB,MAAM,iBAAiB,GAA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G,CAAC,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,OAAO,EAAE,CAAC,CAAA;aAC3E;SACF;QAED,OAAO,CAAC,IAAI,CAAC,oCAAoC,EAAE,YAAY,CAAC,CAAA;QAChE,OAAO,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,oCAAoC,EAAE,CAAC,CAAA;KACjG;IAAC,OAAO,KAAK,EAAE;QACd,OAAO,CAAC,KAAK,CAAC,wBAAwB,EAAE,KAAK,CAAC,CAAA;QAC9C,OAAO,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,wBAAwB,EAAE,CAAC,CAAA;KACrF;AACH,CAAC,CAAA,CAAA;AAzDY,QAAA,gBAAgB,oBAyD5B"}
@@ -1,12 +1,8 @@
1
- export * from "./appInstallation";
2
1
  export * from "./auth";
3
2
  export * from "./billing";
4
3
  export * from "./callback";
5
- export * from "./graph";
6
- export * from "./proxy";
7
- export * from "./rest";
8
- export * from "./token";
9
4
  export * from "./uninstall";
5
+ export * from "./verifiable";
10
6
  export * from "./webhook";
11
7
  export function getAPIConfig(config: any): {
12
8
  api: any;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/handlers/api/index.js"],"names":[],"mappings":";;;;;;;;;;AAYO;;EAKL"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/handlers/api/index.js"],"names":[],"mappings":";;;;;;AAOO;;EAKL"}
@@ -2,17 +2,12 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getAPIConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
- tslib_1.__exportStar(require("./appInstallation"), exports);
6
5
  tslib_1.__exportStar(require("./auth"), exports);
7
6
  tslib_1.__exportStar(require("./billing"), exports);
8
7
  tslib_1.__exportStar(require("./callback"), exports);
9
- tslib_1.__exportStar(require("./graph"), exports);
10
- tslib_1.__exportStar(require("./proxy"), exports);
11
- tslib_1.__exportStar(require("./rest"), exports);
12
- tslib_1.__exportStar(require("./token"), exports);
13
8
  tslib_1.__exportStar(require("./uninstall"), exports);
9
+ tslib_1.__exportStar(require("./verifiable"), exports);
14
10
  tslib_1.__exportStar(require("./webhook"), exports);
15
- // NOTE raw request body is required for Shopify webhook validation
16
11
  const getAPIConfig = (config) => ({
17
12
  api: Object.assign({ bodyParser: false }, config),
18
13
  });
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/handlers/api/index.js"],"names":[],"mappings":";;;;AAAA,4DAAiC;AACjC,iDAAsB;AACtB,oDAAyB;AACzB,qDAA0B;AAC1B,kDAAuB;AACvB,kDAAuB;AACvB,iDAAsB;AACtB,kDAAuB;AACvB,sDAA2B;AAC3B,oDAAyB;AAEzB,mEAAmE;AAC5D,MAAM,YAAY,GAAG,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;IACvC,GAAG,kBACD,UAAU,EAAE,KAAK,IACd,MAAM,CACV;CACF,CAAC,CAAA;AALW,QAAA,YAAY,gBAKvB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/handlers/api/index.js"],"names":[],"mappings":";;;;AAAA,iDAAsB;AACtB,oDAAyB;AACzB,qDAA0B;AAC1B,sDAA2B;AAC3B,uDAA4B;AAC5B,oDAAyB;AAElB,MAAM,YAAY,GAAG,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;IACvC,GAAG,kBACD,UAAU,EAAE,KAAK,IACd,MAAM,CACV;CACF,CAAC,CAAA;AALW,QAAA,YAAY,gBAKvB"}
@@ -1 +1 @@
1
- {"version":3,"file":"uninstall.d.ts","sourceRoot":"","sources":["../../../../src/lib/handlers/api/uninstall.js"],"names":[],"mappings":"AASO,qGAwCN"}
1
+ {"version":3,"file":"uninstall.d.ts","sourceRoot":"","sources":["../../../../src/lib/handlers/api/uninstall.js"],"names":[],"mappings":"AAOO,qGAwCN"}
@@ -2,7 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.handleAppUninstalled = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const raw_body_1 = tslib_1.__importDefault(require("raw-body"));
6
5
  const utils_1 = require("../../utils");
7
6
  const shared_1 = require("../../../shared");
8
7
  // NOTE: typically handling: "/api/webhooks/app/uninstalled"
@@ -14,10 +13,10 @@ const handleAppUninstalled = (serverRuntimeConfig) => (req, res) => tslib_1.__aw
14
13
  return res.status(200).json({ handler: 'uninstall', error: 'Missing shop' });
15
14
  }
16
15
  const { shopify, findSessionIds, deleteSessions } = yield (0, utils_1.getShopifyHelpers)(serverRuntimeConfig, { shop });
17
- // NOTE raw request body is required for Shopify webhook validation
18
- const rawBody = yield (0, raw_body_1.default)(req);
16
+ // TODO: explore getVerifiedBody?
17
+ const rawBody = yield (0, utils_1.ensureRawBody)(req);
19
18
  const _b = yield shopify.webhooks.validate({
20
- rawBody: rawBody.toString(),
19
+ rawBody,
21
20
  rawRequest: req,
22
21
  rawResponse: res,
23
22
  }), { valid } = _b, webhookCheck = tslib_1.__rest(_b, ["valid"]);
@@ -1 +1 @@
1
- {"version":3,"file":"uninstall.js","sourceRoot":"","sources":["../../../../src/lib/handlers/api/uninstall.js"],"names":[],"mappings":";;;;AAAA,gEAAiC;AAEjC,uCAA+C;AAC/C,4CAGwB;AAExB,4DAA4D;AACrD,MAAM,oBAAoB,GAAG,CAAC,mBAAmB,EAAE,EAAE,CAAC,CAAO,GAAG,EAAE,GAAG,EAAE,EAAE;;IAC9E,IAAI;QACF,MAAM,EACJ,eAAe,EAAE,UAAU,EAC3B,uBAAuB,EAAE,iBAAiB,EAC1C,gBAAgB,EAAE,IAAI,GAAG,iBAAiB,aAAjB,iBAA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AE,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,0BAA0B,EAAE,CAAC,CAAA;KACzF;AACH,CAAC,CAAA,CAAA;AAxCY,QAAA,oBAAoB,wBAwChC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"appInstallation.d.ts","sourceRoot":"","sources":["../../../../../src/lib/handlers/api/verifiable/appInstallation.js"],"names":[],"mappings":"AAIO,uHAcN"}
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.handleLoadAppInstallation = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const shared_1 = require("../../../shared");
5
+ const shared_1 = require("../../../../shared");
6
6
  const graph_1 = require("./graph");
7
7
  // NOTE: typically handling: "/api/admin/installation/[appId]" (called by getUseAppInstallation)
8
8
  const handleLoadAppInstallation = (serverRuntimeConfig) => (req, res, params) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"appInstallation.js","sourceRoot":"","sources":["../../../../../src/lib/handlers/api/verifiable/appInstallation.js"],"names":[],"mappings":";;;;AAAA,+CAAsE;AACtE,mCAAqC;AAErC,gGAAgG;AACzF,MAAM,yBAAyB,GAAG,CAAC,mBAAmB,EAAE,EAAE,CAAC,CAAO,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,EAAE;IAC3F,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,aAAN,MAAM,cAAN,MAAM,GAAI,EAAE,CAAA;IAE9B,IAAI,IAAA,oBAAW,EAAC,KAAK,CAAC,EAAE;QACtB,OAAO,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,wBAAwB,EAAE,CAAC,CAAA;KACnE;IAED,MAAM,YAAY,GAAG,IAAA,mBAAW,EAAC,mBAAmB,CAAC,CAAA;IAErD,OAAO,YAAY,CAAC,GAAG,EAAE,GAAG,EAAE;QAC5B,KAAK,EAAE,kBAAS,CAAC,YAAY;QAC7B,SAAS,EAAE,EAAE,SAAS,EAAE,GAAG,KAAK,aAAa,EAAE;QAC/C,SAAS,EAAE,kBAAS,CAAC,SAAS;KAC/B,CAAC,CAAA;AACJ,CAAC,CAAA,CAAA;AAdY,QAAA,yBAAyB,6BAcrC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"graph.d.ts","sourceRoot":"","sources":["../../../../../src/lib/handlers/api/verifiable/graph.js"],"names":[],"mappings":"AAoBO,yGAoHN"}
@@ -3,15 +3,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.handleGraph = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const shopify_api_1 = require("@shopify/shopify-api");
6
- const utils_1 = require("../../utils");
7
- const shared_1 = require("../../../shared");
6
+ const utils_1 = require("../../../utils");
7
+ const shared_1 = require("../../../../shared");
8
8
  const handleGraph = (serverRuntimeConfig) => {
9
9
  const _getVerifiedBody = (0, utils_1.getVerifiedBody)(serverRuntimeConfig);
10
10
  return (req, res, params) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
11
11
  var _a, _b, _c;
12
12
  const [requestBody, processResponse] = yield _getVerifiedBody(req, res);
13
13
  const _d = (_a = req.query) !== null && _a !== void 0 ? _a : {}, { shop, apiVersion } = _d, _query = tslib_1.__rest(_d, ["shop", "apiVersion"]);
14
- const _e = params !== null && params !== void 0 ? params : requestBody, { isOnline, query: graphQuery, variables: graphVariables, transform = (_data) => _data } = _e, graphParams = tslib_1.__rest(_e, ["isOnline", "query", "variables", "transform"]);
14
+ const _e = params !== null && params !== void 0 ? params : (0, shared_1.safeParse)(requestBody || '{}'), { isOnline, query: graphQuery, variables: graphVariables, transform = (_data) => _data } = _e, graphParams = tslib_1.__rest(_e, ["isOnline", "query", "variables", "transform"]);
15
15
  let query = _query;
16
16
  if ((0, shared_1.isType)(query, 'string')) {
17
17
  query = (0, shared_1.querystringToObject)(query);
@@ -29,8 +29,7 @@ const handleGraph = (serverRuntimeConfig) => {
29
29
  response = yield Graphql.query(Object.assign(Object.assign({ data: graphVariables ? {
30
30
  query: graphQuery,
31
31
  variables: graphVariables,
32
- } : graphQuery }, (0, shared_1.objectNotEmpty)(query) && { query }), graphParams))
33
- .then(processResponse);
32
+ } : graphQuery }, (0, shared_1.objectNotEmpty)(query) && { query }), graphParams));
34
33
  statusCode = 200;
35
34
  }
36
35
  catch (error) {
@@ -71,22 +70,22 @@ const handleGraph = (serverRuntimeConfig) => {
71
70
  }
72
71
  }
73
72
  }
74
- Object.entries(headers).forEach(([key, value]) => {
75
- res.setHeader(key, value);
76
- });
77
- if (!(response === null || response === void 0 ? void 0 : response.body)) {
78
- return res.status(statusCode).json({ message });
79
- }
80
73
  try {
81
- const responseBody = (_c = response.body.data) !== null && _c !== void 0 ? _c : response.body;
82
- const [_responseData] = Object.values((0, shared_1.ensureObject)(responseBody));
74
+ Object.entries(headers).forEach(([key, value]) => {
75
+ res.setHeader(key, value);
76
+ });
77
+ if (!(response === null || response === void 0 ? void 0 : response.body)) {
78
+ return res.status(statusCode).json({ message });
79
+ }
80
+ const responseBody = (0, shared_1.ensureObject)((_c = response.body.data) !== null && _c !== void 0 ? _c : response.body);
81
+ const [_responseData] = Object.values(responseBody);
83
82
  const _f = (0, shared_1.ensureObject)(_responseData), { userErrors } = _f, responseData = tslib_1.__rest(_f, ["userErrors"]);
84
83
  if ((0, shared_1.arrayNotEmpty)(userErrors)) {
85
84
  const errorMessages = (0, shared_1.ensureArray)(userErrors).map(({ message }) => (0, shared_1.ensureString)(message));
86
85
  return res.status(500).json({ message: `${message}. ${errorMessages.join('. ')}.` });
87
86
  }
88
87
  // NOTE: sending in both to transform in case someone needs the userErrors
89
- return res.status(statusCode).json(transform(responseData, responseBody));
88
+ return res.status(statusCode).json(yield processResponse(transform(responseData, responseBody)));
90
89
  }
91
90
  catch (error) {
92
91
  console.error(`${message}. Transformation Error.`, error);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"graph.js","sourceRoot":"","sources":["../../../../../src/lib/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,CAAC,CAAA;YAEtE,MAAM,CAAC,aAAa,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,YAAY,CAAC,CAAA;YACnD,MAAM,KAAkC,IAAA,qBAAY,EAAC,aAAa,CAAC,EAA7D,EAAE,UAAU,OAAiD,EAA5C,YAAY,sBAA7B,cAA+B,CAA8B,CAAA;YAEnE,IAAI,IAAA,sBAAa,EAAC,UAAU,CAAC,EAAE;gBAC7B,MAAM,aAAa,GAAG,IAAA,oBAAW,EAAC,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,IAAA,qBAAY,EAAC,OAAO,CAAC,CAAC,CAAA;gBACzF,OAAO,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,GAAG,OAAO,KAAK,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAA;aACrF;YAED,0EAA0E;YAC1E,OAAO,GAAG,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,IAAI,CAChC,MAAM,eAAe,CACnB,SAAS,CAAC,YAAY,EAAE,YAAY,CAAC,CACtC,CACF,CAAA;SACF;QAAC,OAAO,KAAK,EAAE;YACd,OAAO,CAAC,KAAK,CAAC,GAAG,OAAO,yBAAyB,EAAE,KAAK,CAAC,CAAA;YACzD,OAAO,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,CAAC,CAAA;SACzC;IACH,CAAC,CAAA,CAAA;AACH,CAAC,CAAA;AApHY,QAAA,WAAW,eAoHvB"}
@@ -1 +1,6 @@
1
+ export * from "./appInstallation";
2
+ export * from "./graph";
3
+ export * from "./proxy";
4
+ export * from "./rest";
5
+ export * from "./token";
1
6
  //# sourceMappingURL=index.d.ts.map
@@ -1,6 +1,9 @@
1
- // export * from './appInstallation'
2
- // export * from './graph'
3
- // export * from './proxy'
4
- // export * from './rest'
5
- // export * from './token'
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./appInstallation"), exports);
5
+ tslib_1.__exportStar(require("./graph"), exports);
6
+ tslib_1.__exportStar(require("./proxy"), exports);
7
+ tslib_1.__exportStar(require("./rest"), exports);
8
+ tslib_1.__exportStar(require("./token"), exports);
6
9
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/handlers/api/verifiable/index.js"],"names":[],"mappings":"AAAA,oCAAoC;AACpC,0BAA0B;AAC1B,0BAA0B;AAC1B,yBAAyB;AACzB,0BAA0B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/handlers/api/verifiable/index.js"],"names":[],"mappings":";;;AAAA,4DAAiC;AACjC,kDAAuB;AACvB,kDAAuB;AACvB,iDAAsB;AACtB,kDAAuB"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"proxy.d.ts","sourceRoot":"","sources":["../../../../../src/lib/handlers/api/verifiable/proxy.js"],"names":[],"mappings":"AAmCO,sHAkMN"}