From beced32b0118fee0d2ed88f3b263d5e080c52810 Mon Sep 17 00:00:00 2001 From: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Date: Wed, 7 Aug 2024 12:47:22 +0000 Subject: [PATCH] SDK regeneration --- .github/workflows/ci.yml | 27 ---------- README.md | 12 ++--- package.json | 6 +-- src/Client.ts | 12 ++--- src/api/resources/actions/client/Client.ts | 4 +- src/api/resources/checkout/client/Client.ts | 4 +- src/api/resources/headless/client/Client.ts | 12 ++--- src/api/resources/nfTs/client/Client.ts | 40 +++++++------- .../resources/nftCollections/client/Client.ts | 48 ++++++++--------- .../resources/nftTemplates/client/Client.ts | 24 ++++----- src/api/resources/quotePrice/client/Client.ts | 4 +- .../resources/registration/client/Client.ts | 8 +-- src/api/resources/sign/client/Client.ts | 4 +- .../verifiableCredentials/client/Client.ts | 40 +++++++------- src/api/resources/wallet/client/Client.ts | 12 ++--- yarn.lock | 52 +++++++++---------- 16 files changed, 141 insertions(+), 168 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1a55fdb..cf13c1c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,30 +28,3 @@ jobs: - name: Compile run: yarn && yarn test - - publish: - needs: [ compile, test ] - if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') - runs-on: ubuntu-latest - steps: - - name: Checkout repo - uses: actions/checkout@v3 - - name: Set up node - uses: actions/setup-node@v3 - - name: Install dependencies - run: yarn install - - name: Build - run: yarn build - - - name: Publish to npm - run: | - npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN} - if [[ ${GITHUB_REF} == *alpha* ]]; then - npm publish --access public --tag alpha - elif [[ ${GITHUB_REF} == *beta* ]]; then - npm publish --access public --tag beta - else - npm publish --access public - fi - env: - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file diff --git a/README.md b/README.md index 881977f..7c49652 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,14 @@ # Crossmint TypeScript Library [![fern shield](https://img.shields.io/badge/%F0%9F%8C%BF-SDK%20generated%20by%20Fern-brightgreen)](https://github.com/fern-api/fern) -[![npm shield](https://img.shields.io/npm/v/crossmint)](https://www.npmjs.com/package/crossmint) +[![npm shield](https://img.shields.io/npm/v/@crossmint/autogen-sdk-ts)](https://www.npmjs.com/package/@crossmint/autogen-sdk-ts) The Crossmint TypeScript library provides convenient access to the Crossmint API from TypeScript. ## Installation ```sh -npm i -s crossmint +npm i -s @crossmint/autogen-sdk-ts ``` ## Usage @@ -16,7 +16,7 @@ npm i -s crossmint Instantiate and use the client with the following: ```typescript -import { CrossmintClient, Crossmint } from "crossmint"; +import { CrossmintClient, Crossmint } from "@crossmint/autogen-sdk-ts"; const client = new CrossmintClient({ apiKey: "YOUR_API_KEY", clientSecret: "YOUR_CLIENT_SECRET" }); await client.wallets({}); @@ -28,7 +28,7 @@ The SDK exports all request and response types as TypeScript interfaces. Simply following namespace: ```typescript -import { Crossmint } from "crossmint"; +import { Crossmint } from "@crossmint/autogen-sdk-ts"; const request: Crossmint.CreateOrderRequest = { ... @@ -41,7 +41,7 @@ When the API returns a non-success status code (4xx or 5xx response), a subclass will be thrown. ```typescript -import { CrossmintError } from "crossmint"; +import { CrossmintError } from "@crossmint/autogen-sdk-ts"; try { await client.wallets(...); @@ -116,7 +116,7 @@ The SDK provides a way for your to customize the underlying HTTP client / Fetch unsupported environment, this provides a way for you to break glass and ensure the SDK works. ```typescript -import { CrossmintClient } from "crossmint"; +import { CrossmintClient } from "@crossmint/autogen-sdk-ts"; const client = new CrossmintClient({ ... diff --git a/package.json b/package.json index 57df8b1..af301c6 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { - "name": "crossmint", - "version": "0.2.2", + "name": "@crossmint/autogen-sdk-ts", + "version": "0.2.3", "private": false, - "repository": "https://github.com/Paella-Labs/typescript-sdk", + "repository": "https://github.com/Crossmint/autogen-sdk-ts", "main": "./index.js", "types": "./index.d.ts", "scripts": { diff --git a/src/Client.ts b/src/Client.ts index b446357..19e8592 100644 --- a/src/Client.ts +++ b/src/Client.ts @@ -83,8 +83,8 @@ export class CrossmintClient { method: "GET", headers: { "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "crossmint", - "X-Fern-SDK-Version": "0.2.2", + "X-Fern-SDK-Name": "@crossmint/autogen-sdk-ts", + "X-Fern-SDK-Version": "0.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -164,8 +164,8 @@ export class CrossmintClient { method: "POST", headers: { "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "crossmint", - "X-Fern-SDK-Version": "0.2.2", + "X-Fern-SDK-Name": "@crossmint/autogen-sdk-ts", + "X-Fern-SDK-Version": "0.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -244,8 +244,8 @@ export class CrossmintClient { method: "POST", headers: { "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "crossmint", - "X-Fern-SDK-Version": "0.2.2", + "X-Fern-SDK-Name": "@crossmint/autogen-sdk-ts", + "X-Fern-SDK-Version": "0.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/actions/client/Client.ts b/src/api/resources/actions/client/Client.ts index 3162592..6c17f02 100644 --- a/src/api/resources/actions/client/Client.ts +++ b/src/api/resources/actions/client/Client.ts @@ -59,8 +59,8 @@ export class Actions { method: "GET", headers: { "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "crossmint", - "X-Fern-SDK-Version": "0.2.2", + "X-Fern-SDK-Name": "@crossmint/autogen-sdk-ts", + "X-Fern-SDK-Version": "0.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/checkout/client/Client.ts b/src/api/resources/checkout/client/Client.ts index 5785162..a813e92 100644 --- a/src/api/resources/checkout/client/Client.ts +++ b/src/api/resources/checkout/client/Client.ts @@ -61,8 +61,8 @@ export class Checkout { method: "POST", headers: { "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "crossmint", - "X-Fern-SDK-Version": "0.2.2", + "X-Fern-SDK-Name": "@crossmint/autogen-sdk-ts", + "X-Fern-SDK-Version": "0.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/headless/client/Client.ts b/src/api/resources/headless/client/Client.ts index 36dbbf5..368395a 100644 --- a/src/api/resources/headless/client/Client.ts +++ b/src/api/resources/headless/client/Client.ts @@ -67,8 +67,8 @@ export class Headless { method: "POST", headers: { "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "crossmint", - "X-Fern-SDK-Version": "0.2.2", + "X-Fern-SDK-Name": "@crossmint/autogen-sdk-ts", + "X-Fern-SDK-Version": "0.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -148,8 +148,8 @@ export class Headless { method: "GET", headers: { "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "crossmint", - "X-Fern-SDK-Version": "0.2.2", + "X-Fern-SDK-Name": "@crossmint/autogen-sdk-ts", + "X-Fern-SDK-Version": "0.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -233,8 +233,8 @@ export class Headless { method: "PATCH", headers: { "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "crossmint", - "X-Fern-SDK-Version": "0.2.2", + "X-Fern-SDK-Name": "@crossmint/autogen-sdk-ts", + "X-Fern-SDK-Version": "0.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/nfTs/client/Client.ts b/src/api/resources/nfTs/client/Client.ts index 2af1759..dd2db17 100644 --- a/src/api/resources/nfTs/client/Client.ts +++ b/src/api/resources/nfTs/client/Client.ts @@ -70,8 +70,8 @@ export class NfTs { method: "POST", headers: { "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "crossmint", - "X-Fern-SDK-Version": "0.2.2", + "X-Fern-SDK-Name": "@crossmint/autogen-sdk-ts", + "X-Fern-SDK-Version": "0.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -170,8 +170,8 @@ export class NfTs { method: "GET", headers: { "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "crossmint", - "X-Fern-SDK-Version": "0.2.2", + "X-Fern-SDK-Name": "@crossmint/autogen-sdk-ts", + "X-Fern-SDK-Version": "0.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -268,8 +268,8 @@ export class NfTs { method: "POST", headers: { "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "crossmint", - "X-Fern-SDK-Version": "0.2.2", + "X-Fern-SDK-Name": "@crossmint/autogen-sdk-ts", + "X-Fern-SDK-Version": "0.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -364,8 +364,8 @@ export class NfTs { method: "POST", headers: { "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "crossmint", - "X-Fern-SDK-Version": "0.2.2", + "X-Fern-SDK-Name": "@crossmint/autogen-sdk-ts", + "X-Fern-SDK-Version": "0.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "x-idempotency-key": idempotencyKey != null ? idempotencyKey : undefined, @@ -457,8 +457,8 @@ export class NfTs { method: "GET", headers: { "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "crossmint", - "X-Fern-SDK-Version": "0.2.2", + "X-Fern-SDK-Name": "@crossmint/autogen-sdk-ts", + "X-Fern-SDK-Version": "0.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -558,8 +558,8 @@ export class NfTs { method: "PUT", headers: { "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "crossmint", - "X-Fern-SDK-Version": "0.2.2", + "X-Fern-SDK-Name": "@crossmint/autogen-sdk-ts", + "X-Fern-SDK-Version": "0.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -650,8 +650,8 @@ export class NfTs { method: "DELETE", headers: { "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "crossmint", - "X-Fern-SDK-Version": "0.2.2", + "X-Fern-SDK-Name": "@crossmint/autogen-sdk-ts", + "X-Fern-SDK-Version": "0.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -751,8 +751,8 @@ export class NfTs { method: "PATCH", headers: { "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "crossmint", - "X-Fern-SDK-Version": "0.2.2", + "X-Fern-SDK-Name": "@crossmint/autogen-sdk-ts", + "X-Fern-SDK-Version": "0.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -836,8 +836,8 @@ export class NfTs { method: "DELETE", headers: { "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "crossmint", - "X-Fern-SDK-Version": "0.2.2", + "X-Fern-SDK-Name": "@crossmint/autogen-sdk-ts", + "X-Fern-SDK-Version": "0.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -939,8 +939,8 @@ export class NfTs { method: "PATCH", headers: { "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "crossmint", - "X-Fern-SDK-Version": "0.2.2", + "X-Fern-SDK-Name": "@crossmint/autogen-sdk-ts", + "X-Fern-SDK-Version": "0.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/nftCollections/client/Client.ts b/src/api/resources/nftCollections/client/Client.ts index 7e433af..760b7fa 100644 --- a/src/api/resources/nftCollections/client/Client.ts +++ b/src/api/resources/nftCollections/client/Client.ts @@ -59,8 +59,8 @@ export class NftCollections { method: "GET", headers: { "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "crossmint", - "X-Fern-SDK-Version": "0.2.2", + "X-Fern-SDK-Name": "@crossmint/autogen-sdk-ts", + "X-Fern-SDK-Version": "0.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -148,8 +148,8 @@ export class NftCollections { method: "POST", headers: { "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "crossmint", - "X-Fern-SDK-Version": "0.2.2", + "X-Fern-SDK-Name": "@crossmint/autogen-sdk-ts", + "X-Fern-SDK-Version": "0.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -238,8 +238,8 @@ export class NftCollections { method: "GET", headers: { "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "crossmint", - "X-Fern-SDK-Version": "0.2.2", + "X-Fern-SDK-Name": "@crossmint/autogen-sdk-ts", + "X-Fern-SDK-Version": "0.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -336,8 +336,8 @@ export class NftCollections { method: "PUT", headers: { "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "crossmint", - "X-Fern-SDK-Version": "0.2.2", + "X-Fern-SDK-Name": "@crossmint/autogen-sdk-ts", + "X-Fern-SDK-Version": "0.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -428,8 +428,8 @@ export class NftCollections { method: "PATCH", headers: { "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "crossmint", - "X-Fern-SDK-Version": "0.2.2", + "X-Fern-SDK-Name": "@crossmint/autogen-sdk-ts", + "X-Fern-SDK-Version": "0.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -525,8 +525,8 @@ export class NftCollections { method: "GET", headers: { "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "crossmint", - "X-Fern-SDK-Version": "0.2.2", + "X-Fern-SDK-Name": "@crossmint/autogen-sdk-ts", + "X-Fern-SDK-Version": "0.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -619,8 +619,8 @@ export class NftCollections { method: "PUT", headers: { "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "crossmint", - "X-Fern-SDK-Version": "0.2.2", + "X-Fern-SDK-Name": "@crossmint/autogen-sdk-ts", + "X-Fern-SDK-Version": "0.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -707,8 +707,8 @@ export class NftCollections { method: "DELETE", headers: { "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "crossmint", - "X-Fern-SDK-Version": "0.2.2", + "X-Fern-SDK-Name": "@crossmint/autogen-sdk-ts", + "X-Fern-SDK-Version": "0.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -790,8 +790,8 @@ export class NftCollections { method: "GET", headers: { "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "crossmint", - "X-Fern-SDK-Version": "0.2.2", + "X-Fern-SDK-Name": "@crossmint/autogen-sdk-ts", + "X-Fern-SDK-Version": "0.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -888,8 +888,8 @@ export class NftCollections { method: "PUT", headers: { "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "crossmint", - "X-Fern-SDK-Version": "0.2.2", + "X-Fern-SDK-Name": "@crossmint/autogen-sdk-ts", + "X-Fern-SDK-Version": "0.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -978,8 +978,8 @@ export class NftCollections { method: "GET", headers: { "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "crossmint", - "X-Fern-SDK-Version": "0.2.2", + "X-Fern-SDK-Name": "@crossmint/autogen-sdk-ts", + "X-Fern-SDK-Version": "0.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -1075,8 +1075,8 @@ export class NftCollections { method: "PUT", headers: { "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "crossmint", - "X-Fern-SDK-Version": "0.2.2", + "X-Fern-SDK-Name": "@crossmint/autogen-sdk-ts", + "X-Fern-SDK-Version": "0.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/nftTemplates/client/Client.ts b/src/api/resources/nftTemplates/client/Client.ts index 465722f..d401807 100644 --- a/src/api/resources/nftTemplates/client/Client.ts +++ b/src/api/resources/nftTemplates/client/Client.ts @@ -79,8 +79,8 @@ export class NftTemplates { method: "GET", headers: { "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "crossmint", - "X-Fern-SDK-Version": "0.2.2", + "X-Fern-SDK-Name": "@crossmint/autogen-sdk-ts", + "X-Fern-SDK-Version": "0.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -166,8 +166,8 @@ export class NftTemplates { method: "POST", headers: { "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "crossmint", - "X-Fern-SDK-Version": "0.2.2", + "X-Fern-SDK-Name": "@crossmint/autogen-sdk-ts", + "X-Fern-SDK-Version": "0.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -268,8 +268,8 @@ export class NftTemplates { method: "GET", headers: { "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "crossmint", - "X-Fern-SDK-Version": "0.2.2", + "X-Fern-SDK-Name": "@crossmint/autogen-sdk-ts", + "X-Fern-SDK-Version": "0.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -362,8 +362,8 @@ export class NftTemplates { method: "PUT", headers: { "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "crossmint", - "X-Fern-SDK-Version": "0.2.2", + "X-Fern-SDK-Name": "@crossmint/autogen-sdk-ts", + "X-Fern-SDK-Version": "0.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -464,8 +464,8 @@ export class NftTemplates { method: "DELETE", headers: { "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "crossmint", - "X-Fern-SDK-Version": "0.2.2", + "X-Fern-SDK-Name": "@crossmint/autogen-sdk-ts", + "X-Fern-SDK-Version": "0.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -550,8 +550,8 @@ export class NftTemplates { method: "PATCH", headers: { "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "crossmint", - "X-Fern-SDK-Version": "0.2.2", + "X-Fern-SDK-Name": "@crossmint/autogen-sdk-ts", + "X-Fern-SDK-Version": "0.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/quotePrice/client/Client.ts b/src/api/resources/quotePrice/client/Client.ts index 7d01a92..dd83556 100644 --- a/src/api/resources/quotePrice/client/Client.ts +++ b/src/api/resources/quotePrice/client/Client.ts @@ -65,8 +65,8 @@ export class QuotePrice { method: "GET", headers: { "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "crossmint", - "X-Fern-SDK-Version": "0.2.2", + "X-Fern-SDK-Name": "@crossmint/autogen-sdk-ts", + "X-Fern-SDK-Version": "0.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/registration/client/Client.ts b/src/api/resources/registration/client/Client.ts index 056faf2..8370eb9 100644 --- a/src/api/resources/registration/client/Client.ts +++ b/src/api/resources/registration/client/Client.ts @@ -72,8 +72,8 @@ export class Registration { method: "POST", headers: { "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "crossmint", - "X-Fern-SDK-Version": "0.2.2", + "X-Fern-SDK-Name": "@crossmint/autogen-sdk-ts", + "X-Fern-SDK-Version": "0.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -147,8 +147,8 @@ export class Registration { method: "PUT", headers: { "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "crossmint", - "X-Fern-SDK-Version": "0.2.2", + "X-Fern-SDK-Name": "@crossmint/autogen-sdk-ts", + "X-Fern-SDK-Version": "0.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/sign/client/Client.ts b/src/api/resources/sign/client/Client.ts index f30b15d..a2c59d0 100644 --- a/src/api/resources/sign/client/Client.ts +++ b/src/api/resources/sign/client/Client.ts @@ -68,8 +68,8 @@ export class Sign { method: "POST", headers: { "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "crossmint", - "X-Fern-SDK-Version": "0.2.2", + "X-Fern-SDK-Name": "@crossmint/autogen-sdk-ts", + "X-Fern-SDK-Version": "0.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/verifiableCredentials/client/Client.ts b/src/api/resources/verifiableCredentials/client/Client.ts index c3a421a..096ba62 100644 --- a/src/api/resources/verifiableCredentials/client/Client.ts +++ b/src/api/resources/verifiableCredentials/client/Client.ts @@ -62,8 +62,8 @@ export class VerifiableCredentials { method: "POST", headers: { "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "crossmint", - "X-Fern-SDK-Version": "0.2.2", + "X-Fern-SDK-Name": "@crossmint/autogen-sdk-ts", + "X-Fern-SDK-Version": "0.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -145,8 +145,8 @@ export class VerifiableCredentials { method: "POST", headers: { "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "crossmint", - "X-Fern-SDK-Version": "0.2.2", + "X-Fern-SDK-Name": "@crossmint/autogen-sdk-ts", + "X-Fern-SDK-Version": "0.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -228,8 +228,8 @@ export class VerifiableCredentials { method: "GET", headers: { "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "crossmint", - "X-Fern-SDK-Version": "0.2.2", + "X-Fern-SDK-Name": "@crossmint/autogen-sdk-ts", + "X-Fern-SDK-Version": "0.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -307,8 +307,8 @@ export class VerifiableCredentials { method: "GET", headers: { "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "crossmint", - "X-Fern-SDK-Version": "0.2.2", + "X-Fern-SDK-Name": "@crossmint/autogen-sdk-ts", + "X-Fern-SDK-Version": "0.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -388,8 +388,8 @@ export class VerifiableCredentials { method: "DELETE", headers: { "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "crossmint", - "X-Fern-SDK-Version": "0.2.2", + "X-Fern-SDK-Name": "@crossmint/autogen-sdk-ts", + "X-Fern-SDK-Version": "0.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -470,8 +470,8 @@ export class VerifiableCredentials { method: "GET", headers: { "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "crossmint", - "X-Fern-SDK-Version": "0.2.2", + "X-Fern-SDK-Name": "@crossmint/autogen-sdk-ts", + "X-Fern-SDK-Version": "0.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -559,8 +559,8 @@ export class VerifiableCredentials { method: "POST", headers: { "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "crossmint", - "X-Fern-SDK-Version": "0.2.2", + "X-Fern-SDK-Name": "@crossmint/autogen-sdk-ts", + "X-Fern-SDK-Version": "0.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -649,8 +649,8 @@ export class VerifiableCredentials { method: "POST", headers: { "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "crossmint", - "X-Fern-SDK-Version": "0.2.2", + "X-Fern-SDK-Name": "@crossmint/autogen-sdk-ts", + "X-Fern-SDK-Version": "0.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -724,8 +724,8 @@ export class VerifiableCredentials { method: "GET", headers: { "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "crossmint", - "X-Fern-SDK-Version": "0.2.2", + "X-Fern-SDK-Name": "@crossmint/autogen-sdk-ts", + "X-Fern-SDK-Version": "0.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -811,8 +811,8 @@ export class VerifiableCredentials { method: "PUT", headers: { "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "crossmint", - "X-Fern-SDK-Version": "0.2.2", + "X-Fern-SDK-Name": "@crossmint/autogen-sdk-ts", + "X-Fern-SDK-Version": "0.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/src/api/resources/wallet/client/Client.ts b/src/api/resources/wallet/client/Client.ts index fd69a4a..1176761 100644 --- a/src/api/resources/wallet/client/Client.ts +++ b/src/api/resources/wallet/client/Client.ts @@ -69,8 +69,8 @@ export class Wallet { method: "GET", headers: { "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "crossmint", - "X-Fern-SDK-Version": "0.2.2", + "X-Fern-SDK-Name": "@crossmint/autogen-sdk-ts", + "X-Fern-SDK-Version": "0.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -150,8 +150,8 @@ export class Wallet { method: "POST", headers: { "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "crossmint", - "X-Fern-SDK-Version": "0.2.2", + "X-Fern-SDK-Name": "@crossmint/autogen-sdk-ts", + "X-Fern-SDK-Version": "0.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), @@ -236,8 +236,8 @@ export class Wallet { method: "GET", headers: { "X-Fern-Language": "JavaScript", - "X-Fern-SDK-Name": "crossmint", - "X-Fern-SDK-Version": "0.2.2", + "X-Fern-SDK-Name": "@crossmint/autogen-sdk-ts", + "X-Fern-SDK-Version": "0.2.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, ...(await this._getCustomAuthorizationHeaders()), diff --git a/yarn.lock b/yarn.lock index 167c348..c6d22d0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -619,11 +619,11 @@ form-data "^4.0.0" "@types/node@*": - version "22.0.2" - resolved "https://registry.yarnpkg.com/@types/node/-/node-22.0.2.tgz#9fb1a2b31970871e8bf696f0e8a40d2e6d2bd04e" - integrity sha512-yPL6DyFwY5PiMVEwymNeqUTKsDczQBJ/5T7W/46RwLU/VH+AA8aT5TZkvBviLKLbbm0hlfftEkGrNzfRk/fofQ== + version "22.1.0" + resolved "https://registry.yarnpkg.com/@types/node/-/node-22.1.0.tgz#6d6adc648b5e03f0e83c78dc788c2b037d0ad94b" + integrity sha512-AOmuRF0R2/5j1knA3c6G3HOk523Ga+l+ZXltX8SF1+5oqcXijjfTd8fY3XRZqSihEu9XhtQnKYLmkFaoxgsJHw== dependencies: - undici-types "~6.11.1" + undici-types "~6.13.0" "@types/node@17.0.33": version "17.0.33" @@ -656,9 +656,9 @@ integrity sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ== "@types/yargs@^17.0.8": - version "17.0.32" - resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-17.0.32.tgz#030774723a2f7faafebf645f4e5a48371dca6229" - integrity sha512-xQ67Yc/laOG5uMfX/093MRlGGCIBzZMarVa+gfNKJxWAIgykYpVGkBdbqEzGDDfCrVUj6Hiff4mTZ5BA6TmAog== + version "17.0.33" + resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-17.0.33.tgz#8c32303da83eec050a84b3c7ae7b9f922d13e32d" + integrity sha512-WpxBCKWPLr4xSsHgz511rFJAM+wS28w2zEO1QDNY5zM/S8ok70NNfztH0xwhqKyaK0OHCbN98LDAZuy1ctxDkA== dependencies: "@types/yargs-parser" "*" @@ -826,13 +826,13 @@ braces@^3.0.3: fill-range "^7.1.1" browserslist@^4.23.1: - version "4.23.2" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.23.2.tgz#244fe803641f1c19c28c48c4b6ec9736eb3d32ed" - integrity sha512-qkqSyistMYdxAcw+CzbZwlBy8AGmS/eEWs+sEV5TnLRGDOL+C5M2EnH6tlZyg0YoAxGJAFKh61En9BR941GnHA== + version "4.23.3" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.23.3.tgz#debb029d3c93ebc97ffbc8d9cbb03403e227c800" + integrity sha512-btwCFJVjI4YWDNfau8RhZ+B1Q/VLoUITrm3RlP6y1tYGWIOa+InuYiRGXUBXo8nA1qKmHMyLB/iVQg5TT4eFoA== dependencies: - caniuse-lite "^1.0.30001640" - electron-to-chromium "^1.4.820" - node-releases "^2.0.14" + caniuse-lite "^1.0.30001646" + electron-to-chromium "^1.5.4" + node-releases "^2.0.18" update-browserslist-db "^1.1.0" bs-logger@0.x: @@ -880,10 +880,10 @@ camelcase@^6.2.0: resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a" integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== -caniuse-lite@^1.0.30001640: - version "1.0.30001646" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001646.tgz#d472f2882259ba032dd73ee069ff01bfd059b25d" - integrity sha512-dRg00gudiBDDTmUhClSdv3hqRfpbOnU28IpI1T6PBTLWa+kOj0681C8uML3PifYfREuBrVjDGhL3adYpBT6spw== +caniuse-lite@^1.0.30001646: + version "1.0.30001650" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001650.tgz#dd1eba0938e39536d184c3c99b2569a13788bc16" + integrity sha512-fgEc7hP/LB7iicdXHUI9VsBsMZmUmlVJeQP2qqQW+3lkqVhbmjEU8zp+h5stWeilX+G7uXuIUIIlWlDw9jdt8g== chalk@^2.4.2: version "2.4.2" @@ -1078,10 +1078,10 @@ domexception@^4.0.0: dependencies: webidl-conversions "^7.0.0" -electron-to-chromium@^1.4.820: - version "1.5.4" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.4.tgz#cd477c830dd6fca41fbd5465c1ff6ce08ac22343" - integrity sha512-orzA81VqLyIGUEA77YkVA1D+N+nNfl2isJVjjmOyrlxuooZ19ynb+dOlaDTqd/idKRS9lDCSBmtzM+kyCsMnkA== +electron-to-chromium@^1.5.4: + version "1.5.5" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.5.tgz#03bfdf422bdd2c05ee2657efedde21264a1a566b" + integrity sha512-QR7/A7ZkMS8tZuoftC/jfqNkZLQO779SSW3YuZHP4eXpj3EffGLFcB/Xu9AAZQzLccTiCV+EmUo3ha4mQ9wnlA== emittery@^0.13.1: version "0.13.1" @@ -2045,7 +2045,7 @@ node-int64@^0.4.0: resolved "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b" integrity sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw== -node-releases@^2.0.14: +node-releases@^2.0.18: version "2.0.18" resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.18.tgz#f010e8d35e2fe8d6b2944f03f70213ecedc4ca3f" integrity sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g== @@ -2504,10 +2504,10 @@ typescript@4.6.4: resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.6.4.tgz#caa78bbc3a59e6a5c510d35703f6a09877ce45e9" integrity sha512-9ia/jWHIEbo49HfjrLGfKbZSuWo9iTMwXO+Ca3pRsSpbsMbc7/IU8NKdCZVRRBafVPGnoJeFL76ZOAA84I9fEg== -undici-types@~6.11.1: - version "6.11.1" - resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.11.1.tgz#432ea6e8efd54a48569705a699e62d8f4981b197" - integrity sha512-mIDEX2ek50x0OlRgxryxsenE5XaQD4on5U2inY7RApK3SOJpofyw7uW2AyfMKkhAxXIceo2DeWGVGwyvng1GNQ== +undici-types@~6.13.0: + version "6.13.0" + resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.13.0.tgz#e3e79220ab8c81ed1496b5812471afd7cf075ea5" + integrity sha512-xtFJHudx8S2DSoujjMd1WeWvn7KKWFRESZTMeL1RptAYERu29D6jphMjjY+vn96jvN3kVPDNxU/E13VTaXj6jg== universalify@^0.2.0: version "0.2.0"