@ardrive/turbo-sdk 1.0.0-alpha.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.
- package/LICENSE.md +661 -0
- package/README.md +114 -0
- package/bundles/web.bundle.min.js +55429 -0
- package/lib/LICENSE.md +661 -0
- package/lib/README.md +114 -0
- package/lib/common/factory.d.ts +21 -0
- package/lib/common/factory.js +13 -0
- package/lib/common/http.d.ts +44 -0
- package/lib/common/http.js +45 -0
- package/lib/common/index.d.ts +19 -0
- package/lib/common/index.js +19 -0
- package/lib/common/payment.d.ts +41 -0
- package/lib/common/payment.js +81 -0
- package/lib/common/turbo.d.ts +73 -0
- package/lib/common/turbo.js +100 -0
- package/lib/common/upload.d.ts +29 -0
- package/lib/common/upload.js +54 -0
- package/lib/node/factory.d.ts +22 -0
- package/lib/node/factory.js +30 -0
- package/lib/node/index.d.ts +19 -0
- package/lib/node/index.js +19 -0
- package/lib/node/signer.d.ts +36 -0
- package/lib/node/signer.js +54 -0
- package/lib/package.json +106 -0
- package/lib/types/arweave.d.ts +29 -0
- package/lib/types/arweave.js +1 -0
- package/lib/types/index.d.ts +18 -0
- package/lib/types/index.js +18 -0
- package/lib/types/turbo.d.ts +149 -0
- package/lib/types/turbo.js +1 -0
- package/lib/utils/axiosClient.d.ts +23 -0
- package/lib/utils/axiosClient.js +30 -0
- package/lib/utils/base64.d.ts +9 -0
- package/lib/utils/base64.js +39 -0
- package/lib/utils/errors.d.ts +22 -0
- package/lib/utils/errors.js +28 -0
- package/lib/utils/readableStream.d.ts +22 -0
- package/lib/utils/readableStream.js +24 -0
- package/lib/web/factory.d.ts +22 -0
- package/lib/web/factory.js +30 -0
- package/lib/web/index.d.ts +19 -0
- package/lib/web/index.js +19 -0
- package/lib/web/signer.d.ts +37 -0
- package/lib/web/signer.js +61 -0
- package/package.json +106 -0
@@ -0,0 +1,28 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright (C) 2022-2023 Permanent Data Solutions, Inc. All Rights Reserved.
|
3
|
+
*
|
4
|
+
* This program is free software: you can redistribute it and/or modify
|
5
|
+
* it under the terms of the GNU Affero General Public License as published by
|
6
|
+
* the Free Software Foundation, either version 3 of the License, or
|
7
|
+
* (at your option) any later version.
|
8
|
+
*
|
9
|
+
* This program is distributed in the hope that it will be useful,
|
10
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
12
|
+
* GNU Affero General Public License for more details.
|
13
|
+
*
|
14
|
+
* You should have received a copy of the GNU Affero General Public License
|
15
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
16
|
+
*/
|
17
|
+
export class UnauthenticatedRequestError extends Error {
|
18
|
+
constructor() {
|
19
|
+
super('Failed authentication. JWK is required.');
|
20
|
+
this.name = 'UnauthenticatedRequestError';
|
21
|
+
}
|
22
|
+
}
|
23
|
+
export class FailedRequestError extends Error {
|
24
|
+
constructor(status, message) {
|
25
|
+
super(`Failed request: ${status}: ${message}`);
|
26
|
+
this.name = 'FailedRequestError';
|
27
|
+
}
|
28
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
/// <reference types="node" resolution-mode="require"/>
|
2
|
+
/// <reference types="node" resolution-mode="require"/>
|
3
|
+
/**
|
4
|
+
* Copyright (C) 2022-2023 Permanent Data Solutions, Inc. All Rights Reserved.
|
5
|
+
*
|
6
|
+
* This program is free software: you can redistribute it and/or modify
|
7
|
+
* it under the terms of the GNU Affero General Public License as published by
|
8
|
+
* the Free Software Foundation, either version 3 of the License, or
|
9
|
+
* (at your option) any later version.
|
10
|
+
*
|
11
|
+
* This program is distributed in the hope that it will be useful,
|
12
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
13
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
14
|
+
* GNU Affero General Public License for more details.
|
15
|
+
*
|
16
|
+
* You should have received a copy of the GNU Affero General Public License
|
17
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
18
|
+
*/
|
19
|
+
import { ReadableStream } from 'node:stream/web';
|
20
|
+
export declare function readableStreamToBuffer({ stream, }: {
|
21
|
+
stream: ReadableStream;
|
22
|
+
}): Promise<Buffer>;
|
@@ -0,0 +1,24 @@
|
|
1
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
2
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
3
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
4
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
5
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
6
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
7
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
8
|
+
});
|
9
|
+
};
|
10
|
+
export function readableStreamToBuffer({ stream, }) {
|
11
|
+
return __awaiter(this, void 0, void 0, function* () {
|
12
|
+
const reader = stream.getReader();
|
13
|
+
const chunks = [];
|
14
|
+
let done = false;
|
15
|
+
while (!done) {
|
16
|
+
const { done: streamDone, value } = yield reader.read();
|
17
|
+
done = streamDone;
|
18
|
+
if (!done) {
|
19
|
+
chunks.push(value);
|
20
|
+
}
|
21
|
+
}
|
22
|
+
return Buffer.concat(chunks);
|
23
|
+
});
|
24
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright (C) 2022-2023 Permanent Data Solutions, Inc. All Rights Reserved.
|
3
|
+
*
|
4
|
+
* This program is free software: you can redistribute it and/or modify
|
5
|
+
* it under the terms of the GNU Affero General Public License as published by
|
6
|
+
* the Free Software Foundation, either version 3 of the License, or
|
7
|
+
* (at your option) any later version.
|
8
|
+
*
|
9
|
+
* This program is distributed in the hope that it will be useful,
|
10
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
12
|
+
* GNU Affero General Public License for more details.
|
13
|
+
*
|
14
|
+
* You should have received a copy of the GNU Affero General Public License
|
15
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
16
|
+
*/
|
17
|
+
import { TurboBaseFactory } from '../common/factory.js';
|
18
|
+
import { TurboAuthenticatedClient } from '../common/index.js';
|
19
|
+
import { TurboPrivateConfiguration } from '../types/index.js';
|
20
|
+
export declare class TurboFactory extends TurboBaseFactory {
|
21
|
+
static authenticated({ privateKey, paymentServiceConfig, uploadServiceConfig, }: TurboPrivateConfiguration): TurboAuthenticatedClient;
|
22
|
+
}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright (C) 2022-2023 Permanent Data Solutions, Inc. All Rights Reserved.
|
3
|
+
*
|
4
|
+
* This program is free software: you can redistribute it and/or modify
|
5
|
+
* it under the terms of the GNU Affero General Public License as published by
|
6
|
+
* the Free Software Foundation, either version 3 of the License, or
|
7
|
+
* (at your option) any later version.
|
8
|
+
*
|
9
|
+
* This program is distributed in the hope that it will be useful,
|
10
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
12
|
+
* GNU Affero General Public License for more details.
|
13
|
+
*
|
14
|
+
* You should have received a copy of the GNU Affero General Public License
|
15
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
16
|
+
*/
|
17
|
+
import { TurboBaseFactory } from '../common/factory.js';
|
18
|
+
import { TurboAuthenticatedClient, TurboAuthenticatedPaymentService, TurboAuthenticatedUploadService, } from '../common/index.js';
|
19
|
+
import { TurboWebArweaveSigner } from './signer.js';
|
20
|
+
export class TurboFactory extends TurboBaseFactory {
|
21
|
+
static authenticated({ privateKey, paymentServiceConfig = {}, uploadServiceConfig = {}, }) {
|
22
|
+
const signer = new TurboWebArweaveSigner({ privateKey });
|
23
|
+
const paymentService = new TurboAuthenticatedPaymentService(Object.assign(Object.assign({}, paymentServiceConfig), { signer }));
|
24
|
+
const uploadService = new TurboAuthenticatedUploadService(Object.assign(Object.assign({}, uploadServiceConfig), { signer }));
|
25
|
+
return new TurboAuthenticatedClient({
|
26
|
+
uploadService,
|
27
|
+
paymentService,
|
28
|
+
});
|
29
|
+
}
|
30
|
+
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright (C) 2022-2023 Permanent Data Solutions, Inc. All Rights Reserved.
|
3
|
+
*
|
4
|
+
* This program is free software: you can redistribute it and/or modify
|
5
|
+
* it under the terms of the GNU Affero General Public License as published by
|
6
|
+
* the Free Software Foundation, either version 3 of the License, or
|
7
|
+
* (at your option) any later version.
|
8
|
+
*
|
9
|
+
* This program is distributed in the hope that it will be useful,
|
10
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
12
|
+
* GNU Affero General Public License for more details.
|
13
|
+
*
|
14
|
+
* You should have received a copy of the GNU Affero General Public License
|
15
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
16
|
+
*/
|
17
|
+
export * from './factory.js';
|
18
|
+
export * from './signer.js';
|
19
|
+
export * from '../common/index.js';
|
package/lib/web/index.js
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright (C) 2022-2023 Permanent Data Solutions, Inc. All Rights Reserved.
|
3
|
+
*
|
4
|
+
* This program is free software: you can redistribute it and/or modify
|
5
|
+
* it under the terms of the GNU Affero General Public License as published by
|
6
|
+
* the Free Software Foundation, either version 3 of the License, or
|
7
|
+
* (at your option) any later version.
|
8
|
+
*
|
9
|
+
* This program is distributed in the hope that it will be useful,
|
10
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
12
|
+
* GNU Affero General Public License for more details.
|
13
|
+
*
|
14
|
+
* You should have received a copy of the GNU Affero General Public License
|
15
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
16
|
+
*/
|
17
|
+
export * from './factory.js';
|
18
|
+
export * from './signer.js';
|
19
|
+
export * from '../common/index.js';
|
@@ -0,0 +1,37 @@
|
|
1
|
+
/// <reference types="node" resolution-mode="require"/>
|
2
|
+
/// <reference types="node" resolution-mode="require"/>
|
3
|
+
/**
|
4
|
+
* Copyright (C) 2022-2023 Permanent Data Solutions, Inc. All Rights Reserved.
|
5
|
+
*
|
6
|
+
* This program is free software: you can redistribute it and/or modify
|
7
|
+
* it under the terms of the GNU Affero General Public License as published by
|
8
|
+
* the Free Software Foundation, either version 3 of the License, or
|
9
|
+
* (at your option) any later version.
|
10
|
+
*
|
11
|
+
* This program is distributed in the hope that it will be useful,
|
12
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
13
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
14
|
+
* GNU Affero General Public License for more details.
|
15
|
+
*
|
16
|
+
* You should have received a copy of the GNU Affero General Public License
|
17
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
18
|
+
*/
|
19
|
+
import { ArweaveSigner } from 'arbundles/web';
|
20
|
+
import { ReadableStream } from 'node:stream/web';
|
21
|
+
import { JWKInterface } from '../types/arweave.js';
|
22
|
+
import { TurboWalletSigner } from '../types/turbo.js';
|
23
|
+
export declare class TurboWebArweaveSigner implements TurboWalletSigner {
|
24
|
+
protected privateKey: JWKInterface;
|
25
|
+
protected signer: ArweaveSigner;
|
26
|
+
constructor({ privateKey }: {
|
27
|
+
privateKey: JWKInterface;
|
28
|
+
});
|
29
|
+
signDataItem({ fileStreamFactory, }: {
|
30
|
+
fileStreamFactory: () => ReadableStream;
|
31
|
+
}): Promise<Buffer>;
|
32
|
+
generateSignedRequestHeaders(): Promise<{
|
33
|
+
'x-public-key': string;
|
34
|
+
'x-nonce': string;
|
35
|
+
'x-signature': string;
|
36
|
+
}>;
|
37
|
+
}
|
@@ -0,0 +1,61 @@
|
|
1
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
2
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
3
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
4
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
5
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
6
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
7
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
8
|
+
});
|
9
|
+
};
|
10
|
+
/**
|
11
|
+
* Copyright (C) 2022-2023 Permanent Data Solutions, Inc. All Rights Reserved.
|
12
|
+
*
|
13
|
+
* This program is free software: you can redistribute it and/or modify
|
14
|
+
* it under the terms of the GNU Affero General Public License as published by
|
15
|
+
* the Free Software Foundation, either version 3 of the License, or
|
16
|
+
* (at your option) any later version.
|
17
|
+
*
|
18
|
+
* This program is distributed in the hope that it will be useful,
|
19
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
20
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
21
|
+
* GNU Affero General Public License for more details.
|
22
|
+
*
|
23
|
+
* You should have received a copy of the GNU Affero General Public License
|
24
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
25
|
+
*/
|
26
|
+
import { ArweaveSigner, createData } from 'arbundles/web';
|
27
|
+
import Arweave from 'arweave/web/index.js';
|
28
|
+
import { randomBytes } from 'node:crypto';
|
29
|
+
import { toB64Url } from '../utils/base64.js';
|
30
|
+
import { readableStreamToBuffer } from '../utils/readableStream.js';
|
31
|
+
export class TurboWebArweaveSigner {
|
32
|
+
constructor({ privateKey }) {
|
33
|
+
this.privateKey = privateKey;
|
34
|
+
this.signer = new ArweaveSigner(this.privateKey);
|
35
|
+
}
|
36
|
+
signDataItem({ fileStreamFactory, }) {
|
37
|
+
return __awaiter(this, void 0, void 0, function* () {
|
38
|
+
// TODO: converts the readable stream to a buffer bc incrementally signing ReadableStreams is not trivial
|
39
|
+
const buffer = yield readableStreamToBuffer({
|
40
|
+
stream: fileStreamFactory(),
|
41
|
+
// TODO: add payload size to get performance improvements
|
42
|
+
});
|
43
|
+
const signedDataItem = createData(buffer, this.signer);
|
44
|
+
yield signedDataItem.sign(this.signer);
|
45
|
+
return signedDataItem.getRaw();
|
46
|
+
});
|
47
|
+
}
|
48
|
+
// NOTE: this might be better in a parent class or elsewhere - easy enough to leave in here now and does require specific environment version of crypto
|
49
|
+
generateSignedRequestHeaders() {
|
50
|
+
return __awaiter(this, void 0, void 0, function* () {
|
51
|
+
const nonce = randomBytes(16).toString('hex');
|
52
|
+
const buffer = Buffer.from(nonce);
|
53
|
+
const signature = yield Arweave.default.crypto.sign(this.privateKey, buffer);
|
54
|
+
return {
|
55
|
+
'x-public-key': this.privateKey.n,
|
56
|
+
'x-nonce': nonce,
|
57
|
+
'x-signature': toB64Url(Buffer.from(signature)),
|
58
|
+
};
|
59
|
+
});
|
60
|
+
}
|
61
|
+
}
|
package/package.json
ADDED
@@ -0,0 +1,106 @@
|
|
1
|
+
{
|
2
|
+
"name": "@ardrive/turbo-sdk",
|
3
|
+
"version": "1.0.0-alpha.1",
|
4
|
+
"main": "./lib/node/index.js",
|
5
|
+
"types": "./lib/types/index.d.ts",
|
6
|
+
"type": "module",
|
7
|
+
"repository": {
|
8
|
+
"type": "git",
|
9
|
+
"url": "https://github.com/ardriveapp/turbo-sdk.git"
|
10
|
+
},
|
11
|
+
"files": [
|
12
|
+
"lib",
|
13
|
+
"bundles",
|
14
|
+
"LICENSE",
|
15
|
+
"README.md"
|
16
|
+
],
|
17
|
+
"author": {
|
18
|
+
"name": "Permanent Data Solutions Inc",
|
19
|
+
"email": "info@ardrive.io",
|
20
|
+
"website": "https://ardrive.io"
|
21
|
+
},
|
22
|
+
"exports": {
|
23
|
+
".": {
|
24
|
+
"import": "./lib/node/index.js",
|
25
|
+
"require": "./lib/node/index.js",
|
26
|
+
"types": "./lib/types/index.d.ts",
|
27
|
+
"browser": "./bundles/web.bundle.min.js"
|
28
|
+
},
|
29
|
+
"./node": {
|
30
|
+
"import": "./lib/node/index.js",
|
31
|
+
"require": "./lib/node/index.js",
|
32
|
+
"types": "./lib/types/index.d.ts"
|
33
|
+
},
|
34
|
+
"./web": {
|
35
|
+
"import": "./lib/web/index.js",
|
36
|
+
"require": "./lib/web/index.js",
|
37
|
+
"types": "./lib/types/index.d.ts",
|
38
|
+
"browser": "./bundles/web.bundle.min.js"
|
39
|
+
}
|
40
|
+
},
|
41
|
+
"engines": {
|
42
|
+
"node": ">=18"
|
43
|
+
},
|
44
|
+
"license": "AGPL-3.0-or-later",
|
45
|
+
"scripts": {
|
46
|
+
"build:web": "node bundle.cjs",
|
47
|
+
"build:esm": "yarn tsc -p tsconfig.node.json && yarn tsc -p tsconfig.web.json && cp package.json README.md LICENSE.md ./lib",
|
48
|
+
"build": "yarn clean && yarn build:web && yarn build:esm",
|
49
|
+
"clean": "rimraf [ lib coverage bundles ]",
|
50
|
+
"postinstall": "husky install",
|
51
|
+
"lint": "eslint src",
|
52
|
+
"lint:fix": "eslint src --fix",
|
53
|
+
"format": "prettier --check .",
|
54
|
+
"format:fix": "prettier --write .",
|
55
|
+
"test": "c8 mocha --config .mocharc --exit",
|
56
|
+
"test:web": "c8 mocha --config .mocharc --exclude tests/**/*.node.test.ts --exit",
|
57
|
+
"test:node": "c8 mocha --config .mocharc --exclude tests/**/*.web.test.ts --exit",
|
58
|
+
"prepare": "husky install",
|
59
|
+
"example:mjs": "yarn build:esm && node examples/node/index.mjs",
|
60
|
+
"example:cjs": "yarn build:esm && node examples/node/index.cjs",
|
61
|
+
"example:web": "yarn build:web && cp -r bundles/* examples/web && http-server --port 8080 --host -o examples/web"
|
62
|
+
},
|
63
|
+
"dependencies": {
|
64
|
+
"arbundles": "^0.9.9",
|
65
|
+
"arweave": "^1.14.4",
|
66
|
+
"axios": "^1.4.0",
|
67
|
+
"retry-axios": "^3.0.0",
|
68
|
+
"winston": "^3.10.0"
|
69
|
+
},
|
70
|
+
"devDependencies": {
|
71
|
+
"@commitlint/cli": "^17.1.2",
|
72
|
+
"@commitlint/config-conventional": "^17.1.0",
|
73
|
+
"@esbuild-plugins/node-modules-polyfill": "^0.2.2",
|
74
|
+
"@semantic-release/changelog": "^6.0.3",
|
75
|
+
"@semantic-release/git": "^10.0.1",
|
76
|
+
"@trivago/prettier-plugin-sort-imports": "^4.2.0",
|
77
|
+
"@types/chai": "^4.3.5",
|
78
|
+
"@types/mocha": "^10.0.1",
|
79
|
+
"@types/node": "^20.4.8",
|
80
|
+
"@types/sinon": "^10.0.15",
|
81
|
+
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
82
|
+
"@typescript-eslint/parser": "^6.4.0",
|
83
|
+
"c8": "^8.0.1",
|
84
|
+
"chai": "^4.3.7",
|
85
|
+
"esbuild": "^0.19.2",
|
86
|
+
"eslint": "^8.47.0",
|
87
|
+
"eslint-config-prettier": "^9.0.0",
|
88
|
+
"eslint-config-standard-with-typescript": "^37.0.0",
|
89
|
+
"eslint-plugin-header": "^3.1.1",
|
90
|
+
"eslint-plugin-import": "^2.28.0",
|
91
|
+
"eslint-plugin-mocha": "^10.1.0",
|
92
|
+
"eslint-plugin-n": "^16.0.1",
|
93
|
+
"eslint-plugin-prettier": "^5.0.0",
|
94
|
+
"eslint-plugin-promise": "^6.1.1",
|
95
|
+
"http-server": "^14.1.1",
|
96
|
+
"husky": "^8.0.3",
|
97
|
+
"mocha": "^10.2.0",
|
98
|
+
"node-stdlib-browser": "^1.2.0",
|
99
|
+
"prettier": "^3.0.2",
|
100
|
+
"rimraf": "^5.0.1",
|
101
|
+
"semantic-release": "^21.0.7",
|
102
|
+
"sinon": "^15.2.0",
|
103
|
+
"ts-node": "^10.9.1",
|
104
|
+
"typescript": "^5.1.6"
|
105
|
+
}
|
106
|
+
}
|