@thirdweb-dev/service-utils 0.1.0-nightly-cfa7ecbc-20230713222838 → 0.1.1-nightly-d724ad85-20230714003417

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.
@@ -108,7 +108,7 @@ async function authorize(options) {
108
108
 
109
109
  // no cached key, re-fetch from API
110
110
  if (!keyData) {
111
- const response = await fetch(`${apiUrl}/v1/keys/use/?scope=${scope}&clientId=${clientId}`, {
111
+ const response = await fetch(`${apiUrl}/v1/keys/use?scope=${scope}&clientId=${clientId}`, {
112
112
  method: "GET",
113
113
  headers: {
114
114
  "x-service-api-key": serviceKey,
@@ -108,7 +108,7 @@ async function authorize(options) {
108
108
 
109
109
  // no cached key, re-fetch from API
110
110
  if (!keyData) {
111
- const response = await fetch(`${apiUrl}/v1/keys/use/?scope=${scope}&clientId=${clientId}`, {
111
+ const response = await fetch(`${apiUrl}/v1/keys/use?scope=${scope}&clientId=${clientId}`, {
112
112
  method: "GET",
113
113
  headers: {
114
114
  "x-service-api-key": serviceKey,
@@ -104,7 +104,7 @@ async function authorize(options) {
104
104
 
105
105
  // no cached key, re-fetch from API
106
106
  if (!keyData) {
107
- const response = await fetch(`${apiUrl}/v1/keys/use/?scope=${scope}&clientId=${clientId}`, {
107
+ const response = await fetch(`${apiUrl}/v1/keys/use?scope=${scope}&clientId=${clientId}`, {
108
108
  method: "GET",
109
109
  headers: {
110
110
  "x-service-api-key": serviceKey,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thirdweb-dev/service-utils",
3
- "version": "0.1.0-nightly-cfa7ecbc-20230713222838",
3
+ "version": "0.1.1-nightly-d724ad85-20230714003417",
4
4
  "main": "dist/thirdweb-dev-service-utils.cjs.js",
5
5
  "module": "dist/thirdweb-dev-service-utils.esm.js",
6
6
  "exports": {