From c81cbbf7b012929a5c46c5577206d318e470cfad Mon Sep 17 00:00:00 2001 From: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Date: Wed, 24 Apr 2024 22:09:26 +0000 Subject: [PATCH] Release 0.1.0 --- package.json | 2 +- src/Client.ts | 14 +-- src/api/resources/funding/client/Client.ts | 2 +- .../resources/funding/types/Transaction.ts | 1 + .../funding/types/TransactionStatus.ts | 3 +- src/api/resources/index.ts | 2 +- src/api/resources/transact/client/Client.ts | 17 ++- .../transact/types/SendTransactionRequest.ts | 18 ++- .../transact/types/SendTransactionResponse.ts | 6 + src/api/resources/wallet/client/Client.ts | 26 +++-- .../wallet/errors/InvalidChainError.ts | 17 +++ src/api/resources/wallet/errors/index.ts | 1 + src/api/resources/wallet/types/ErrorBody.ts | 7 ++ .../wallet/types/TransactionAttempt.ts | 1 + src/api/resources/wallet/types/WalletType.ts | 3 +- src/api/resources/wallet/types/index.ts | 1 + .../resources/funding/types/Transaction.ts | 2 + .../funding/types/TransactionStatus.ts | 4 +- src/serialization/resources/index.ts | 2 +- .../transact/types/SendTransactionRequest.ts | 4 - .../resources/wallet/types/ErrorBody.ts | 18 +++ .../wallet/types/TransactionAttempt.ts | 2 + .../resources/wallet/types/WalletType.ts | 4 +- .../resources/wallet/types/index.ts | 1 + yarn.lock | 108 ++++++++++-------- 25 files changed, 188 insertions(+), 78 deletions(-) create mode 100644 src/api/resources/wallet/errors/InvalidChainError.ts create mode 100644 src/api/resources/wallet/types/ErrorBody.ts create mode 100644 src/serialization/resources/wallet/types/ErrorBody.ts diff --git a/package.json b/package.json index b37d530..32c08cc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@calebguy/testing", - "version": "0.0.466", + "version": "0.1.0", "private": false, "repository": "https://github.com/SyndicateProtocol/syndicate-node", "main": "./index.js", diff --git a/src/Client.ts b/src/Client.ts index 474cd02..3ba5cc1 100644 --- a/src/Client.ts +++ b/src/Client.ts @@ -3,8 +3,8 @@ */ import * as core from "./core"; -import { Funding } from "./api/resources/funding/client/Client"; import { Transact } from "./api/resources/transact/client/Client"; +import { Funding } from "./api/resources/funding/client/Client"; import { Wallet } from "./api/resources/wallet/client/Client"; export declare namespace SyndicateClient { @@ -21,18 +21,18 @@ export declare namespace SyndicateClient { export class SyndicateClient { constructor(protected readonly _options: SyndicateClient.Options) {} - protected _funding: Funding | undefined; - - public get funding(): Funding { - return (this._funding ??= new Funding(this._options)); - } - protected _transact: Transact | undefined; public get transact(): Transact { return (this._transact ??= new Transact(this._options)); } + protected _funding: Funding | undefined; + + public get funding(): Funding { + return (this._funding ??= new Funding(this._options)); + } + protected _wallet: Wallet | undefined; public get wallet(): Wallet { diff --git a/src/api/resources/funding/client/Client.ts b/src/api/resources/funding/client/Client.ts index a14f7eb..13a3f06 100644 --- a/src/api/resources/funding/client/Client.ts +++ b/src/api/resources/funding/client/Client.ts @@ -48,7 +48,7 @@ export class Funding { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@calebguy/testing", - "X-Fern-SDK-Version": "0.0.466", + "X-Fern-SDK-Version": "0.1.0", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/funding/types/Transaction.ts b/src/api/resources/funding/types/Transaction.ts index d860725..6ef77e9 100644 --- a/src/api/resources/funding/types/Transaction.ts +++ b/src/api/resources/funding/types/Transaction.ts @@ -17,4 +17,5 @@ export interface Transaction { signedTxn: string; block: number; status: Syndicate.funding.TransactionStatus; + blockCreatedAt?: Date; } diff --git a/src/api/resources/funding/types/TransactionStatus.ts b/src/api/resources/funding/types/TransactionStatus.ts index a5a9d12..12a989a 100644 --- a/src/api/resources/funding/types/TransactionStatus.ts +++ b/src/api/resources/funding/types/TransactionStatus.ts @@ -2,10 +2,11 @@ * This file was auto-generated by Fern from our API Definition. */ -export type TransactionStatus = "PENDING" | "SUBMITTED" | "CONFIRMED" | "FAILED"; +export type TransactionStatus = "PENDING" | "PROCESSED" | "SUBMITTED" | "CONFIRMED" | "FAILED"; export const TransactionStatus = { Pending: "PENDING", + Processed: "PROCESSED", Submitted: "SUBMITTED", Confirmed: "CONFIRMED", Failed: "FAILED", diff --git a/src/api/resources/index.ts b/src/api/resources/index.ts index 728fa3f..6d9a8bc 100644 --- a/src/api/resources/index.ts +++ b/src/api/resources/index.ts @@ -1,3 +1,3 @@ -export * as funding from "./funding"; export * as transact from "./transact"; +export * as funding from "./funding"; export * as wallet from "./wallet"; diff --git a/src/api/resources/transact/client/Client.ts b/src/api/resources/transact/client/Client.ts index 50cbe24..3113b45 100644 --- a/src/api/resources/transact/client/Client.ts +++ b/src/api/resources/transact/client/Client.ts @@ -29,6 +29,21 @@ export class Transact { * @throws {@link Syndicate.transact.BadRequestError} * @throws {@link Syndicate.transact.InternalError} * @throws {@link Syndicate.transact.InvalidRequestIdError} + * + * @example + * await syndicate.transact.sendTransaction({ + * requestId: "083be671-9f3f-41c0-9377-8c33aab3b413", + * projectId: "638d1d78-d63d-4cda-9f1e-4d0799acfeee", + * contractAddress: "0x94f6E9c420Db1566A3c035Df291F206eBfAfC762", + * chainId: 80001, + * functionSignature: "addPerson((string name, uint16 age) person))", + * args: { + * "person": { + * "name": "Person", + * "age": 55 + * } + * } + * }) */ public async sendTransaction( request: Syndicate.transact.SendTransactionRequest, @@ -41,7 +56,7 @@ export class Transact { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@calebguy/testing", - "X-Fern-SDK-Version": "0.0.466", + "X-Fern-SDK-Version": "0.1.0", }, contentType: "application/json", body: await serializers.transact.SendTransactionRequest.jsonOrThrow(request, { diff --git a/src/api/resources/transact/types/SendTransactionRequest.ts b/src/api/resources/transact/types/SendTransactionRequest.ts index 11ead23..c4f39ed 100644 --- a/src/api/resources/transact/types/SendTransactionRequest.ts +++ b/src/api/resources/transact/types/SendTransactionRequest.ts @@ -2,6 +2,22 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * { + * requestId: "083be671-9f3f-41c0-9377-8c33aab3b413", + * projectId: "638d1d78-d63d-4cda-9f1e-4d0799acfeee", + * contractAddress: "0x94f6E9c420Db1566A3c035Df291F206eBfAfC762", + * chainId: 80001, + * functionSignature: "addPerson((string name, uint16 age) person))", + * args: { + * "person": { + * "name": "Person", + * "age": 55 + * } + * } + * } + */ export interface SendTransactionRequest { /** (Optional) ID of the request. Needs to be a valid UUID. If provided, it will be saved and returned as the transactionId of the response. If not provided, we will generate one for you and return it as the transactionId. */ requestId?: string; @@ -15,6 +31,4 @@ export interface SendTransactionRequest { functionSignature: string; /** (Optional) The function arguments for the transaction if any. The keys are the argument names or index from the provided function signature and the values are the argument values. */ args?: Record; - organizationId: string; - organizationTier: string; } diff --git a/src/api/resources/transact/types/SendTransactionResponse.ts b/src/api/resources/transact/types/SendTransactionResponse.ts index 79f01eb..7537740 100644 --- a/src/api/resources/transact/types/SendTransactionResponse.ts +++ b/src/api/resources/transact/types/SendTransactionResponse.ts @@ -2,6 +2,12 @@ * This file was auto-generated by Fern from our API Definition. */ +/** + * @example + * { + * transactionId: "561b77ed-6e35-4248-87ef-c6af93f3bad9" + * } + */ export interface SendTransactionResponse { transactionId: string; } diff --git a/src/api/resources/wallet/client/Client.ts b/src/api/resources/wallet/client/Client.ts index 81ba33b..ee2121c 100644 --- a/src/api/resources/wallet/client/Client.ts +++ b/src/api/resources/wallet/client/Client.ts @@ -26,6 +26,7 @@ export class Wallet { /** * Creates a new wallet and assigns it to a project * @throws {@link Syndicate.wallet.CreateWalletError} + * @throws {@link Syndicate.wallet.InvalidChainError} */ public async createWallet( request: Syndicate.wallet.CreateWalletRequest, @@ -38,7 +39,7 @@ export class Wallet { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@calebguy/testing", - "X-Fern-SDK-Version": "0.0.466", + "X-Fern-SDK-Version": "0.1.0", }, contentType: "application/json", body: await serializers.wallet.CreateWalletRequest.jsonOrThrow(request, { @@ -67,6 +68,15 @@ export class Wallet { breadcrumbsPrefix: ["response"], }) ); + case 400: + throw new Syndicate.wallet.InvalidChainError( + await serializers.wallet.ErrorBody.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + breadcrumbsPrefix: ["response"], + }) + ); default: throw new errors.SyndicateError({ statusCode: _response.error.statusCode, @@ -105,7 +115,7 @@ export class Wallet { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@calebguy/testing", - "X-Fern-SDK-Version": "0.0.466", + "X-Fern-SDK-Version": "0.1.0", }, contentType: "application/json", body: await serializers.wallet.RetireWalletRequest.jsonOrThrow(request, { @@ -165,7 +175,7 @@ export class Wallet { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@calebguy/testing", - "X-Fern-SDK-Version": "0.0.466", + "X-Fern-SDK-Version": "0.1.0", }, contentType: "application/json", body: await serializers.wallet.ToggleIsActiveRequest.jsonOrThrow(request, { @@ -229,7 +239,7 @@ export class Wallet { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@calebguy/testing", - "X-Fern-SDK-Version": "0.0.466", + "X-Fern-SDK-Version": "0.1.0", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -305,7 +315,7 @@ export class Wallet { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@calebguy/testing", - "X-Fern-SDK-Version": "0.0.466", + "X-Fern-SDK-Version": "0.1.0", }, contentType: "application/json", queryParameters: _queryParams, @@ -370,7 +380,7 @@ export class Wallet { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@calebguy/testing", - "X-Fern-SDK-Version": "0.0.466", + "X-Fern-SDK-Version": "0.1.0", }, contentType: "application/json", queryParameters: _queryParams, @@ -454,7 +464,7 @@ export class Wallet { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@calebguy/testing", - "X-Fern-SDK-Version": "0.0.466", + "X-Fern-SDK-Version": "0.1.0", }, contentType: "application/json", queryParameters: _queryParams, @@ -506,7 +516,7 @@ export class Wallet { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@calebguy/testing", - "X-Fern-SDK-Version": "0.0.466", + "X-Fern-SDK-Version": "0.1.0", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/wallet/errors/InvalidChainError.ts b/src/api/resources/wallet/errors/InvalidChainError.ts new file mode 100644 index 0000000..79a33d4 --- /dev/null +++ b/src/api/resources/wallet/errors/InvalidChainError.ts @@ -0,0 +1,17 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as errors from "../../../../errors"; +import * as Syndicate from "../../.."; + +export class InvalidChainError extends errors.SyndicateError { + constructor(body: Syndicate.wallet.ErrorBody) { + super({ + message: "InvalidChainError", + statusCode: 400, + body: body, + }); + Object.setPrototypeOf(this, InvalidChainError.prototype); + } +} diff --git a/src/api/resources/wallet/errors/index.ts b/src/api/resources/wallet/errors/index.ts index 3c66206..c551838 100644 --- a/src/api/resources/wallet/errors/index.ts +++ b/src/api/resources/wallet/errors/index.ts @@ -1,4 +1,5 @@ export * from "./CreateWalletError"; +export * from "./InvalidChainError"; export * from "./RetireWalletError"; export * from "./WalletNotFoundError"; export * from "./TransactionNotFoundError"; diff --git a/src/api/resources/wallet/types/ErrorBody.ts b/src/api/resources/wallet/types/ErrorBody.ts new file mode 100644 index 0000000..ff7669f --- /dev/null +++ b/src/api/resources/wallet/types/ErrorBody.ts @@ -0,0 +1,7 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export interface ErrorBody { + message: string; +} diff --git a/src/api/resources/wallet/types/TransactionAttempt.ts b/src/api/resources/wallet/types/TransactionAttempt.ts index 9faaff5..f6423b2 100644 --- a/src/api/resources/wallet/types/TransactionAttempt.ts +++ b/src/api/resources/wallet/types/TransactionAttempt.ts @@ -10,6 +10,7 @@ export interface TransactionAttempt { chainId: number; status: Syndicate.wallet.TransactionStatus; block: number; + blockCreatedAt?: Date; signedTxn: string; walletAddress: string; reverted: boolean; diff --git a/src/api/resources/wallet/types/WalletType.ts b/src/api/resources/wallet/types/WalletType.ts index ab336d5..51919f8 100644 --- a/src/api/resources/wallet/types/WalletType.ts +++ b/src/api/resources/wallet/types/WalletType.ts @@ -2,10 +2,9 @@ * This file was auto-generated by Fern from our API Definition. */ -export type WalletType = "BROADCAST" | "SIGNING" | "CLUSTER_MANAGER"; +export type WalletType = "BROADCAST" | "SIGNING"; export const WalletType = { Broadcast: "BROADCAST", Signing: "SIGNING", - ClusterManager: "CLUSTER_MANAGER", } as const; diff --git a/src/api/resources/wallet/types/index.ts b/src/api/resources/wallet/types/index.ts index 36e0274..70ab999 100644 --- a/src/api/resources/wallet/types/index.ts +++ b/src/api/resources/wallet/types/index.ts @@ -13,3 +13,4 @@ export * from "./TransactionsByProjectResponse"; export * from "./TransactionRequestsByProjectResponse"; export * from "./TransactionStatus"; export * from "./ProjectTransactionStatsResponse"; +export * from "./ErrorBody"; diff --git a/src/serialization/resources/funding/types/Transaction.ts b/src/serialization/resources/funding/types/Transaction.ts index 2d038f8..53fdc8e 100644 --- a/src/serialization/resources/funding/types/Transaction.ts +++ b/src/serialization/resources/funding/types/Transaction.ts @@ -22,6 +22,7 @@ export const Transaction: core.serialization.ObjectSchema< signedTxn: core.serialization.string(), block: core.serialization.number(), status: core.serialization.lazy(async () => (await import("../../..")).funding.TransactionStatus), + blockCreatedAt: core.serialization.date().optional(), }); export declare namespace Transaction { @@ -38,5 +39,6 @@ export declare namespace Transaction { signedTxn: string; block: number; status: serializers.funding.TransactionStatus.Raw; + blockCreatedAt?: string | null; } } diff --git a/src/serialization/resources/funding/types/TransactionStatus.ts b/src/serialization/resources/funding/types/TransactionStatus.ts index c9d6a29..c3e3322 100644 --- a/src/serialization/resources/funding/types/TransactionStatus.ts +++ b/src/serialization/resources/funding/types/TransactionStatus.ts @@ -9,8 +9,8 @@ import * as core from "../../../../core"; export const TransactionStatus: core.serialization.Schema< serializers.funding.TransactionStatus.Raw, Syndicate.funding.TransactionStatus -> = core.serialization.enum_(["PENDING", "SUBMITTED", "CONFIRMED", "FAILED"]); +> = core.serialization.enum_(["PENDING", "PROCESSED", "SUBMITTED", "CONFIRMED", "FAILED"]); export declare namespace TransactionStatus { - type Raw = "PENDING" | "SUBMITTED" | "CONFIRMED" | "FAILED"; + type Raw = "PENDING" | "PROCESSED" | "SUBMITTED" | "CONFIRMED" | "FAILED"; } diff --git a/src/serialization/resources/index.ts b/src/serialization/resources/index.ts index 728fa3f..6d9a8bc 100644 --- a/src/serialization/resources/index.ts +++ b/src/serialization/resources/index.ts @@ -1,3 +1,3 @@ -export * as funding from "./funding"; export * as transact from "./transact"; +export * as funding from "./funding"; export * as wallet from "./wallet"; diff --git a/src/serialization/resources/transact/types/SendTransactionRequest.ts b/src/serialization/resources/transact/types/SendTransactionRequest.ts index 9d6d20b..80e7dd4 100644 --- a/src/serialization/resources/transact/types/SendTransactionRequest.ts +++ b/src/serialization/resources/transact/types/SendTransactionRequest.ts @@ -16,8 +16,6 @@ export const SendTransactionRequest: core.serialization.ObjectSchema< chainId: core.serialization.number(), functionSignature: core.serialization.string(), args: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), - organizationId: core.serialization.string(), - organizationTier: core.serialization.string(), }); export declare namespace SendTransactionRequest { @@ -28,7 +26,5 @@ export declare namespace SendTransactionRequest { chainId: number; functionSignature: string; args?: Record | null; - organizationId: string; - organizationTier: string; } } diff --git a/src/serialization/resources/wallet/types/ErrorBody.ts b/src/serialization/resources/wallet/types/ErrorBody.ts new file mode 100644 index 0000000..ee3163f --- /dev/null +++ b/src/serialization/resources/wallet/types/ErrorBody.ts @@ -0,0 +1,18 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../.."; +import * as Syndicate from "../../../../api"; +import * as core from "../../../../core"; + +export const ErrorBody: core.serialization.ObjectSchema = + core.serialization.object({ + message: core.serialization.string(), + }); + +export declare namespace ErrorBody { + interface Raw { + message: string; + } +} diff --git a/src/serialization/resources/wallet/types/TransactionAttempt.ts b/src/serialization/resources/wallet/types/TransactionAttempt.ts index 52da840..233de20 100644 --- a/src/serialization/resources/wallet/types/TransactionAttempt.ts +++ b/src/serialization/resources/wallet/types/TransactionAttempt.ts @@ -15,6 +15,7 @@ export const TransactionAttempt: core.serialization.ObjectSchema< chainId: core.serialization.number(), status: core.serialization.lazy(async () => (await import("../../..")).wallet.TransactionStatus), block: core.serialization.number(), + blockCreatedAt: core.serialization.date().optional(), signedTxn: core.serialization.string(), walletAddress: core.serialization.string(), reverted: core.serialization.boolean(), @@ -30,6 +31,7 @@ export declare namespace TransactionAttempt { chainId: number; status: serializers.wallet.TransactionStatus.Raw; block: number; + blockCreatedAt?: string | null; signedTxn: string; walletAddress: string; reverted: boolean; diff --git a/src/serialization/resources/wallet/types/WalletType.ts b/src/serialization/resources/wallet/types/WalletType.ts index c0984dc..bb16b5b 100644 --- a/src/serialization/resources/wallet/types/WalletType.ts +++ b/src/serialization/resources/wallet/types/WalletType.ts @@ -7,8 +7,8 @@ import * as Syndicate from "../../../../api"; import * as core from "../../../../core"; export const WalletType: core.serialization.Schema = - core.serialization.enum_(["BROADCAST", "SIGNING", "CLUSTER_MANAGER"]); + core.serialization.enum_(["BROADCAST", "SIGNING"]); export declare namespace WalletType { - type Raw = "BROADCAST" | "SIGNING" | "CLUSTER_MANAGER"; + type Raw = "BROADCAST" | "SIGNING"; } diff --git a/src/serialization/resources/wallet/types/index.ts b/src/serialization/resources/wallet/types/index.ts index 36e0274..70ab999 100644 --- a/src/serialization/resources/wallet/types/index.ts +++ b/src/serialization/resources/wallet/types/index.ts @@ -13,3 +13,4 @@ export * from "./TransactionsByProjectResponse"; export * from "./TransactionRequestsByProjectResponse"; export * from "./TransactionStatus"; export * from "./ProjectTransactionStatsResponse"; +export * from "./ErrorBody"; diff --git a/yarn.lock b/yarn.lock index 5a9d1a7..f01822d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11,9 +11,9 @@ form-data "^4.0.0" "@types/node@*": - version "20.10.6" - resolved "https://registry.yarnpkg.com/@types/node/-/node-20.10.6.tgz#a3ec84c22965802bf763da55b2394424f22bfbb5" - integrity sha512-Vac8H+NlRNNlAmDfGUP7b5h/KA+AtWIzuXy0E6OyP8f1tCLYAtPvKRRDJjAPqhpCb0t6U2j7/xqAuLEebW2kiw== + version "20.12.7" + resolved "https://registry.yarnpkg.com/@types/node/-/node-20.12.7.tgz#04080362fa3dd6c5822061aa3124f5c152cff384" + integrity sha512-wq0cICSkRLVaf3UGLMGItu/PtdY7oaXaI/RVU+xliKVOtRna3PRY57ZDfztpDL0n11vfymMUnXv8QwYCO7L1wg== dependencies: undici-types "~5.26.4" @@ -37,14 +37,16 @@ asynckit@^0.4.0: resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q== -call-bind@^1.0.0: - version "1.0.5" - resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.5.tgz#6fa2b7845ce0ea49bf4d8b9ef64727a2c2e2e513" - integrity sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ== +call-bind@^1.0.7: + version "1.0.7" + resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.7.tgz#06016599c40c56498c18769d2730be242b6fa3b9" + integrity sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w== dependencies: + es-define-property "^1.0.0" + es-errors "^1.3.0" function-bind "^1.1.2" - get-intrinsic "^1.2.1" - set-function-length "^1.1.1" + get-intrinsic "^1.2.4" + set-function-length "^1.2.1" combined-stream@^1.0.8: version "1.0.8" @@ -53,20 +55,32 @@ combined-stream@^1.0.8: dependencies: delayed-stream "~1.0.0" -define-data-property@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/define-data-property/-/define-data-property-1.1.1.tgz#c35f7cd0ab09883480d12ac5cb213715587800b3" - integrity sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ== +define-data-property@^1.1.4: + version "1.1.4" + resolved "https://registry.yarnpkg.com/define-data-property/-/define-data-property-1.1.4.tgz#894dc141bb7d3060ae4366f6a0107e68fbe48c5e" + integrity sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A== dependencies: - get-intrinsic "^1.2.1" + es-define-property "^1.0.0" + es-errors "^1.3.0" gopd "^1.0.1" - has-property-descriptors "^1.0.0" delayed-stream@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ== +es-define-property@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/es-define-property/-/es-define-property-1.0.0.tgz#c7faefbdff8b2696cf5f46921edfb77cc4ba3845" + integrity sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ== + dependencies: + get-intrinsic "^1.2.4" + +es-errors@^1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/es-errors/-/es-errors-1.3.0.tgz#05f75a25dab98e4fb1dcd5e1472c0546d5057c8f" + integrity sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw== + form-data@4.0.0, form-data@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.0.tgz#93919daeaf361ee529584b9b31664dc12c9fa452" @@ -81,11 +95,12 @@ function-bind@^1.1.2: resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.2.tgz#2c02d864d97f3ea6c8830c464cbd11ab6eab7a1c" integrity sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA== -get-intrinsic@^1.0.2, get-intrinsic@^1.1.3, get-intrinsic@^1.2.1, get-intrinsic@^1.2.2: - version "1.2.2" - resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.2.tgz#281b7622971123e1ef4b3c90fd7539306da93f3b" - integrity sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA== +get-intrinsic@^1.1.3, get-intrinsic@^1.2.4: + version "1.2.4" + resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.4.tgz#e385f5a4b5227d449c3eabbad05494ef0abbeadd" + integrity sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ== dependencies: + es-errors "^1.3.0" function-bind "^1.1.2" has-proto "^1.0.1" has-symbols "^1.0.3" @@ -98,17 +113,17 @@ gopd@^1.0.1: dependencies: get-intrinsic "^1.1.3" -has-property-descriptors@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/has-property-descriptors/-/has-property-descriptors-1.0.1.tgz#52ba30b6c5ec87fd89fa574bc1c39125c6f65340" - integrity sha512-VsX8eaIewvas0xnvinAe9bw4WfIeODpGYikiWYLH+dma0Jw6KHYqWiWfhQlgOVK8D6PvjubK5Uc4P0iIhIcNVg== +has-property-descriptors@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz#963ed7d071dc7bf5f084c5bfbe0d1b6222586854" + integrity sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg== dependencies: - get-intrinsic "^1.2.2" + es-define-property "^1.0.0" has-proto@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/has-proto/-/has-proto-1.0.1.tgz#1885c1305538958aff469fef37937c22795408e0" - integrity sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg== + version "1.0.3" + resolved "https://registry.yarnpkg.com/has-proto/-/has-proto-1.0.3.tgz#b31ddfe9b0e6e9914536a6ab286426d0214f77fd" + integrity sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q== has-symbols@^1.0.3: version "1.0.3" @@ -116,9 +131,9 @@ has-symbols@^1.0.3: integrity sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A== hasown@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.0.tgz#f4c513d454a57b7c7e1650778de226b11700546c" - integrity sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA== + version "2.0.2" + resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.2.tgz#003eaf91be7adc372e84ec59dc37252cedb80003" + integrity sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ== dependencies: function-bind "^1.1.2" @@ -146,7 +161,7 @@ node-fetch@2.7.0: dependencies: whatwg-url "^5.0.0" -object-inspect@^1.9.0: +object-inspect@^1.13.1: version "1.13.1" resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.13.1.tgz#b96c6109324ccfef6b12216a956ca4dc2ff94bc2" integrity sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ== @@ -163,24 +178,27 @@ qs@6.11.2: dependencies: side-channel "^1.0.4" -set-function-length@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/set-function-length/-/set-function-length-1.1.1.tgz#4bc39fafb0307224a33e106a7d35ca1218d659ed" - integrity sha512-VoaqjbBJKiWtg4yRcKBQ7g7wnGnLV3M8oLvVWwOk2PdYY6PEFegR1vezXR0tw6fZGF9csVakIRjrJiy2veSBFQ== +set-function-length@^1.2.1: + version "1.2.2" + resolved "https://registry.yarnpkg.com/set-function-length/-/set-function-length-1.2.2.tgz#aac72314198eaed975cf77b2c3b6b880695e5449" + integrity sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg== dependencies: - define-data-property "^1.1.1" - get-intrinsic "^1.2.1" + define-data-property "^1.1.4" + es-errors "^1.3.0" + function-bind "^1.1.2" + get-intrinsic "^1.2.4" gopd "^1.0.1" - has-property-descriptors "^1.0.0" + has-property-descriptors "^1.0.2" side-channel@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.4.tgz#efce5c8fdc104ee751b25c58d4290011fa5ea2cf" - integrity sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw== - dependencies: - call-bind "^1.0.0" - get-intrinsic "^1.0.2" - object-inspect "^1.9.0" + version "1.0.6" + resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.6.tgz#abd25fb7cd24baf45466406b1096b7831c9215f2" + integrity sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA== + dependencies: + call-bind "^1.0.7" + es-errors "^1.3.0" + get-intrinsic "^1.2.4" + object-inspect "^1.13.1" tr46@~0.0.3: version "0.0.3"