brainerce 1.10.0 → 1.10.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/dist/index.js +16 -16
- package/dist/index.mjs +16 -16
- package/package.json +77 -77
package/dist/index.js
CHANGED
|
@@ -1770,7 +1770,7 @@ var BrainerceClient = class {
|
|
|
1770
1770
|
if (!provider) {
|
|
1771
1771
|
throw new BrainerceError("provider is required (e.g., 'GOOGLE', 'FACEBOOK', 'GITHUB')", 400);
|
|
1772
1772
|
}
|
|
1773
|
-
if (!this.customerToken) {
|
|
1773
|
+
if (!this.customerToken && !this.proxyMode) {
|
|
1774
1774
|
throw new BrainerceError("Customer token is required. Call setCustomerToken() first.", 401);
|
|
1775
1775
|
}
|
|
1776
1776
|
const params = new URLSearchParams();
|
|
@@ -1803,7 +1803,7 @@ var BrainerceClient = class {
|
|
|
1803
1803
|
if (!provider) {
|
|
1804
1804
|
throw new BrainerceError("provider is required (e.g., 'GOOGLE', 'FACEBOOK', 'GITHUB')", 400);
|
|
1805
1805
|
}
|
|
1806
|
-
if (!this.customerToken) {
|
|
1806
|
+
if (!this.customerToken && !this.proxyMode) {
|
|
1807
1807
|
throw new BrainerceError("Customer token is required. Call setCustomerToken() first.", 401);
|
|
1808
1808
|
}
|
|
1809
1809
|
if (this.isVibeCodedMode()) {
|
|
@@ -1826,7 +1826,7 @@ var BrainerceClient = class {
|
|
|
1826
1826
|
* ```
|
|
1827
1827
|
*/
|
|
1828
1828
|
async getOAuthConnections() {
|
|
1829
|
-
if (!this.customerToken) {
|
|
1829
|
+
if (!this.customerToken && !this.proxyMode) {
|
|
1830
1830
|
throw new BrainerceError("Customer token is required. Call setCustomerToken() first.", 401);
|
|
1831
1831
|
}
|
|
1832
1832
|
if (this.isVibeCodedMode()) {
|
|
@@ -1859,7 +1859,7 @@ var BrainerceClient = class {
|
|
|
1859
1859
|
* ```
|
|
1860
1860
|
*/
|
|
1861
1861
|
async getCustomerProfile() {
|
|
1862
|
-
if (!this.customerToken) {
|
|
1862
|
+
if (!this.customerToken && !this.proxyMode) {
|
|
1863
1863
|
throw new BrainerceError("Customer token is required. Call setCustomerToken() first.", 401);
|
|
1864
1864
|
}
|
|
1865
1865
|
if (this.isVibeCodedMode()) {
|
|
@@ -2221,7 +2221,7 @@ var BrainerceClient = class {
|
|
|
2221
2221
|
* ```
|
|
2222
2222
|
*/
|
|
2223
2223
|
async linkCart(cartId) {
|
|
2224
|
-
if (!this.customerToken) {
|
|
2224
|
+
if (!this.customerToken && !this.proxyMode) {
|
|
2225
2225
|
throw new BrainerceError(
|
|
2226
2226
|
"Customer must be logged in to link cart. Call setCustomerToken() first.",
|
|
2227
2227
|
401
|
|
@@ -2681,7 +2681,7 @@ var BrainerceClient = class {
|
|
|
2681
2681
|
* @internal
|
|
2682
2682
|
*/
|
|
2683
2683
|
async fetchCustomerCart() {
|
|
2684
|
-
if (!this.customerToken) {
|
|
2684
|
+
if (!this.customerToken && !this.proxyMode) {
|
|
2685
2685
|
throw new BrainerceError("Customer token required", 401);
|
|
2686
2686
|
}
|
|
2687
2687
|
if (this.isVibeCodedMode()) {
|
|
@@ -4318,7 +4318,7 @@ var BrainerceClient = class {
|
|
|
4318
4318
|
* ```
|
|
4319
4319
|
*/
|
|
4320
4320
|
async getMyProfile() {
|
|
4321
|
-
if (!this.customerToken) {
|
|
4321
|
+
if (!this.customerToken && !this.proxyMode) {
|
|
4322
4322
|
throw new BrainerceError(
|
|
4323
4323
|
"Customer token required. Call setCustomerToken() after login.",
|
|
4324
4324
|
401
|
|
@@ -4357,7 +4357,7 @@ var BrainerceClient = class {
|
|
|
4357
4357
|
* ```
|
|
4358
4358
|
*/
|
|
4359
4359
|
async getCheckoutPrefillData() {
|
|
4360
|
-
if (!this.customerToken) {
|
|
4360
|
+
if (!this.customerToken && !this.proxyMode) {
|
|
4361
4361
|
throw new BrainerceError(
|
|
4362
4362
|
"Customer token required. Call setCustomerToken() after login.",
|
|
4363
4363
|
401
|
|
@@ -4379,7 +4379,7 @@ var BrainerceClient = class {
|
|
|
4379
4379
|
* Only available in storefront mode
|
|
4380
4380
|
*/
|
|
4381
4381
|
async updateMyProfile(data) {
|
|
4382
|
-
if (!this.customerToken) {
|
|
4382
|
+
if (!this.customerToken && !this.proxyMode) {
|
|
4383
4383
|
throw new BrainerceError(
|
|
4384
4384
|
"Customer token required. Call setCustomerToken() after login.",
|
|
4385
4385
|
401
|
|
@@ -4401,7 +4401,7 @@ var BrainerceClient = class {
|
|
|
4401
4401
|
* Works in vibe-coded and storefront modes
|
|
4402
4402
|
*/
|
|
4403
4403
|
async getMyOrders(params) {
|
|
4404
|
-
if (!this.customerToken) {
|
|
4404
|
+
if (!this.customerToken && !this.proxyMode) {
|
|
4405
4405
|
throw new BrainerceError(
|
|
4406
4406
|
"Customer token required. Call setCustomerToken() after login.",
|
|
4407
4407
|
401
|
|
@@ -4448,7 +4448,7 @@ var BrainerceClient = class {
|
|
|
4448
4448
|
* ```
|
|
4449
4449
|
*/
|
|
4450
4450
|
async getOrderDownloads(orderId) {
|
|
4451
|
-
if (!this.customerToken) {
|
|
4451
|
+
if (!this.customerToken && !this.proxyMode) {
|
|
4452
4452
|
throw new BrainerceError(
|
|
4453
4453
|
"Customer token required. Call setCustomerToken() after login.",
|
|
4454
4454
|
401
|
|
@@ -4503,7 +4503,7 @@ var BrainerceClient = class {
|
|
|
4503
4503
|
* Works in vibe-coded and storefront modes
|
|
4504
4504
|
*/
|
|
4505
4505
|
async getMyAddresses() {
|
|
4506
|
-
if (!this.customerToken) {
|
|
4506
|
+
if (!this.customerToken && !this.proxyMode) {
|
|
4507
4507
|
throw new BrainerceError(
|
|
4508
4508
|
"Customer token required. Call setCustomerToken() after login.",
|
|
4509
4509
|
401
|
|
@@ -4525,7 +4525,7 @@ var BrainerceClient = class {
|
|
|
4525
4525
|
* Works in vibe-coded and storefront modes
|
|
4526
4526
|
*/
|
|
4527
4527
|
async addMyAddress(address) {
|
|
4528
|
-
if (!this.customerToken) {
|
|
4528
|
+
if (!this.customerToken && !this.proxyMode) {
|
|
4529
4529
|
throw new BrainerceError(
|
|
4530
4530
|
"Customer token required. Call setCustomerToken() after login.",
|
|
4531
4531
|
401
|
|
@@ -4547,7 +4547,7 @@ var BrainerceClient = class {
|
|
|
4547
4547
|
* Works in vibe-coded and storefront modes
|
|
4548
4548
|
*/
|
|
4549
4549
|
async updateMyAddress(addressId, data) {
|
|
4550
|
-
if (!this.customerToken) {
|
|
4550
|
+
if (!this.customerToken && !this.proxyMode) {
|
|
4551
4551
|
throw new BrainerceError(
|
|
4552
4552
|
"Customer token required. Call setCustomerToken() after login.",
|
|
4553
4553
|
401
|
|
@@ -4577,7 +4577,7 @@ var BrainerceClient = class {
|
|
|
4577
4577
|
* Works in vibe-coded and storefront modes
|
|
4578
4578
|
*/
|
|
4579
4579
|
async deleteMyAddress(addressId) {
|
|
4580
|
-
if (!this.customerToken) {
|
|
4580
|
+
if (!this.customerToken && !this.proxyMode) {
|
|
4581
4581
|
throw new BrainerceError(
|
|
4582
4582
|
"Customer token required. Call setCustomerToken() after login.",
|
|
4583
4583
|
401
|
|
@@ -4605,7 +4605,7 @@ var BrainerceClient = class {
|
|
|
4605
4605
|
if (!this.storeId) {
|
|
4606
4606
|
throw new BrainerceError("getMyCart is only available in storefront mode", 400);
|
|
4607
4607
|
}
|
|
4608
|
-
if (!this.customerToken) {
|
|
4608
|
+
if (!this.customerToken && !this.proxyMode) {
|
|
4609
4609
|
throw new BrainerceError(
|
|
4610
4610
|
"Customer token required. Call setCustomerToken() after login.",
|
|
4611
4611
|
401
|
package/dist/index.mjs
CHANGED
|
@@ -1712,7 +1712,7 @@ var BrainerceClient = class {
|
|
|
1712
1712
|
if (!provider) {
|
|
1713
1713
|
throw new BrainerceError("provider is required (e.g., 'GOOGLE', 'FACEBOOK', 'GITHUB')", 400);
|
|
1714
1714
|
}
|
|
1715
|
-
if (!this.customerToken) {
|
|
1715
|
+
if (!this.customerToken && !this.proxyMode) {
|
|
1716
1716
|
throw new BrainerceError("Customer token is required. Call setCustomerToken() first.", 401);
|
|
1717
1717
|
}
|
|
1718
1718
|
const params = new URLSearchParams();
|
|
@@ -1745,7 +1745,7 @@ var BrainerceClient = class {
|
|
|
1745
1745
|
if (!provider) {
|
|
1746
1746
|
throw new BrainerceError("provider is required (e.g., 'GOOGLE', 'FACEBOOK', 'GITHUB')", 400);
|
|
1747
1747
|
}
|
|
1748
|
-
if (!this.customerToken) {
|
|
1748
|
+
if (!this.customerToken && !this.proxyMode) {
|
|
1749
1749
|
throw new BrainerceError("Customer token is required. Call setCustomerToken() first.", 401);
|
|
1750
1750
|
}
|
|
1751
1751
|
if (this.isVibeCodedMode()) {
|
|
@@ -1768,7 +1768,7 @@ var BrainerceClient = class {
|
|
|
1768
1768
|
* ```
|
|
1769
1769
|
*/
|
|
1770
1770
|
async getOAuthConnections() {
|
|
1771
|
-
if (!this.customerToken) {
|
|
1771
|
+
if (!this.customerToken && !this.proxyMode) {
|
|
1772
1772
|
throw new BrainerceError("Customer token is required. Call setCustomerToken() first.", 401);
|
|
1773
1773
|
}
|
|
1774
1774
|
if (this.isVibeCodedMode()) {
|
|
@@ -1801,7 +1801,7 @@ var BrainerceClient = class {
|
|
|
1801
1801
|
* ```
|
|
1802
1802
|
*/
|
|
1803
1803
|
async getCustomerProfile() {
|
|
1804
|
-
if (!this.customerToken) {
|
|
1804
|
+
if (!this.customerToken && !this.proxyMode) {
|
|
1805
1805
|
throw new BrainerceError("Customer token is required. Call setCustomerToken() first.", 401);
|
|
1806
1806
|
}
|
|
1807
1807
|
if (this.isVibeCodedMode()) {
|
|
@@ -2163,7 +2163,7 @@ var BrainerceClient = class {
|
|
|
2163
2163
|
* ```
|
|
2164
2164
|
*/
|
|
2165
2165
|
async linkCart(cartId) {
|
|
2166
|
-
if (!this.customerToken) {
|
|
2166
|
+
if (!this.customerToken && !this.proxyMode) {
|
|
2167
2167
|
throw new BrainerceError(
|
|
2168
2168
|
"Customer must be logged in to link cart. Call setCustomerToken() first.",
|
|
2169
2169
|
401
|
|
@@ -2623,7 +2623,7 @@ var BrainerceClient = class {
|
|
|
2623
2623
|
* @internal
|
|
2624
2624
|
*/
|
|
2625
2625
|
async fetchCustomerCart() {
|
|
2626
|
-
if (!this.customerToken) {
|
|
2626
|
+
if (!this.customerToken && !this.proxyMode) {
|
|
2627
2627
|
throw new BrainerceError("Customer token required", 401);
|
|
2628
2628
|
}
|
|
2629
2629
|
if (this.isVibeCodedMode()) {
|
|
@@ -4260,7 +4260,7 @@ var BrainerceClient = class {
|
|
|
4260
4260
|
* ```
|
|
4261
4261
|
*/
|
|
4262
4262
|
async getMyProfile() {
|
|
4263
|
-
if (!this.customerToken) {
|
|
4263
|
+
if (!this.customerToken && !this.proxyMode) {
|
|
4264
4264
|
throw new BrainerceError(
|
|
4265
4265
|
"Customer token required. Call setCustomerToken() after login.",
|
|
4266
4266
|
401
|
|
@@ -4299,7 +4299,7 @@ var BrainerceClient = class {
|
|
|
4299
4299
|
* ```
|
|
4300
4300
|
*/
|
|
4301
4301
|
async getCheckoutPrefillData() {
|
|
4302
|
-
if (!this.customerToken) {
|
|
4302
|
+
if (!this.customerToken && !this.proxyMode) {
|
|
4303
4303
|
throw new BrainerceError(
|
|
4304
4304
|
"Customer token required. Call setCustomerToken() after login.",
|
|
4305
4305
|
401
|
|
@@ -4321,7 +4321,7 @@ var BrainerceClient = class {
|
|
|
4321
4321
|
* Only available in storefront mode
|
|
4322
4322
|
*/
|
|
4323
4323
|
async updateMyProfile(data) {
|
|
4324
|
-
if (!this.customerToken) {
|
|
4324
|
+
if (!this.customerToken && !this.proxyMode) {
|
|
4325
4325
|
throw new BrainerceError(
|
|
4326
4326
|
"Customer token required. Call setCustomerToken() after login.",
|
|
4327
4327
|
401
|
|
@@ -4343,7 +4343,7 @@ var BrainerceClient = class {
|
|
|
4343
4343
|
* Works in vibe-coded and storefront modes
|
|
4344
4344
|
*/
|
|
4345
4345
|
async getMyOrders(params) {
|
|
4346
|
-
if (!this.customerToken) {
|
|
4346
|
+
if (!this.customerToken && !this.proxyMode) {
|
|
4347
4347
|
throw new BrainerceError(
|
|
4348
4348
|
"Customer token required. Call setCustomerToken() after login.",
|
|
4349
4349
|
401
|
|
@@ -4390,7 +4390,7 @@ var BrainerceClient = class {
|
|
|
4390
4390
|
* ```
|
|
4391
4391
|
*/
|
|
4392
4392
|
async getOrderDownloads(orderId) {
|
|
4393
|
-
if (!this.customerToken) {
|
|
4393
|
+
if (!this.customerToken && !this.proxyMode) {
|
|
4394
4394
|
throw new BrainerceError(
|
|
4395
4395
|
"Customer token required. Call setCustomerToken() after login.",
|
|
4396
4396
|
401
|
|
@@ -4445,7 +4445,7 @@ var BrainerceClient = class {
|
|
|
4445
4445
|
* Works in vibe-coded and storefront modes
|
|
4446
4446
|
*/
|
|
4447
4447
|
async getMyAddresses() {
|
|
4448
|
-
if (!this.customerToken) {
|
|
4448
|
+
if (!this.customerToken && !this.proxyMode) {
|
|
4449
4449
|
throw new BrainerceError(
|
|
4450
4450
|
"Customer token required. Call setCustomerToken() after login.",
|
|
4451
4451
|
401
|
|
@@ -4467,7 +4467,7 @@ var BrainerceClient = class {
|
|
|
4467
4467
|
* Works in vibe-coded and storefront modes
|
|
4468
4468
|
*/
|
|
4469
4469
|
async addMyAddress(address) {
|
|
4470
|
-
if (!this.customerToken) {
|
|
4470
|
+
if (!this.customerToken && !this.proxyMode) {
|
|
4471
4471
|
throw new BrainerceError(
|
|
4472
4472
|
"Customer token required. Call setCustomerToken() after login.",
|
|
4473
4473
|
401
|
|
@@ -4489,7 +4489,7 @@ var BrainerceClient = class {
|
|
|
4489
4489
|
* Works in vibe-coded and storefront modes
|
|
4490
4490
|
*/
|
|
4491
4491
|
async updateMyAddress(addressId, data) {
|
|
4492
|
-
if (!this.customerToken) {
|
|
4492
|
+
if (!this.customerToken && !this.proxyMode) {
|
|
4493
4493
|
throw new BrainerceError(
|
|
4494
4494
|
"Customer token required. Call setCustomerToken() after login.",
|
|
4495
4495
|
401
|
|
@@ -4519,7 +4519,7 @@ var BrainerceClient = class {
|
|
|
4519
4519
|
* Works in vibe-coded and storefront modes
|
|
4520
4520
|
*/
|
|
4521
4521
|
async deleteMyAddress(addressId) {
|
|
4522
|
-
if (!this.customerToken) {
|
|
4522
|
+
if (!this.customerToken && !this.proxyMode) {
|
|
4523
4523
|
throw new BrainerceError(
|
|
4524
4524
|
"Customer token required. Call setCustomerToken() after login.",
|
|
4525
4525
|
401
|
|
@@ -4547,7 +4547,7 @@ var BrainerceClient = class {
|
|
|
4547
4547
|
if (!this.storeId) {
|
|
4548
4548
|
throw new BrainerceError("getMyCart is only available in storefront mode", 400);
|
|
4549
4549
|
}
|
|
4550
|
-
if (!this.customerToken) {
|
|
4550
|
+
if (!this.customerToken && !this.proxyMode) {
|
|
4551
4551
|
throw new BrainerceError(
|
|
4552
4552
|
"Customer token required. Call setCustomerToken() after login.",
|
|
4553
4553
|
401
|
package/package.json
CHANGED
|
@@ -1,77 +1,77 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "brainerce",
|
|
3
|
-
"version": "1.10.
|
|
4
|
-
"description": "Official SDK for building e-commerce storefronts with Brainerce Platform. Perfect for vibe-coded sites, AI-built stores (Cursor, Lovable, v0), and custom storefronts.",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"module": "dist/index.mjs",
|
|
7
|
-
"types": "dist/index.d.ts",
|
|
8
|
-
"exports": {
|
|
9
|
-
".": {
|
|
10
|
-
"types": "./dist/index.d.ts",
|
|
11
|
-
"require": "./dist/index.js",
|
|
12
|
-
"import": "./dist/index.mjs"
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
"files": [
|
|
16
|
-
"dist",
|
|
17
|
-
"README.md",
|
|
18
|
-
"AI_BUILDER_PROMPT.md"
|
|
19
|
-
],
|
|
20
|
-
"scripts": {
|
|
21
|
-
"build": "tsup src/index.ts --format cjs,esm --dts",
|
|
22
|
-
"dev": "tsup src/index.ts --format cjs,esm --dts --watch",
|
|
23
|
-
"lint": "eslint \"src/**/*.ts\"",
|
|
24
|
-
"test": "vitest run",
|
|
25
|
-
"test:watch": "vitest",
|
|
26
|
-
"prepublishOnly": "pnpm build"
|
|
27
|
-
},
|
|
28
|
-
"keywords": [
|
|
29
|
-
"brainerce",
|
|
30
|
-
"e-commerce",
|
|
31
|
-
"ecommerce",
|
|
32
|
-
"sdk",
|
|
33
|
-
"vibe-coding",
|
|
34
|
-
"vibe-coded",
|
|
35
|
-
"ai-commerce",
|
|
36
|
-
"storefront",
|
|
37
|
-
"headless-commerce",
|
|
38
|
-
"multi-platform",
|
|
39
|
-
"shopify",
|
|
40
|
-
"tiktok",
|
|
41
|
-
"cursor",
|
|
42
|
-
"lovable",
|
|
43
|
-
"v0",
|
|
44
|
-
"cart",
|
|
45
|
-
"checkout",
|
|
46
|
-
"products",
|
|
47
|
-
"sync"
|
|
48
|
-
],
|
|
49
|
-
"author": "Brainerce",
|
|
50
|
-
"license": "MIT",
|
|
51
|
-
"repository": {
|
|
52
|
-
"type": "git",
|
|
53
|
-
"url": "https://github.com/brainerce/brainerce.git",
|
|
54
|
-
"directory": "packages/sdk"
|
|
55
|
-
},
|
|
56
|
-
"homepage": "https://brainerce.com",
|
|
57
|
-
"bugs": {
|
|
58
|
-
"url": "https://github.com/brainerce/brainerce/issues"
|
|
59
|
-
},
|
|
60
|
-
"devDependencies": {
|
|
61
|
-
"@types/node": "^25.0.3",
|
|
62
|
-
"@typescript-eslint/eslint-plugin": "^8.50.1",
|
|
63
|
-
"@typescript-eslint/parser": "^8.50.1",
|
|
64
|
-
"eslint": "^9.39.2",
|
|
65
|
-
"tsup": "^8.0.0",
|
|
66
|
-
"typescript": "^5.3.0",
|
|
67
|
-
"vitest": "^1.0.0"
|
|
68
|
-
},
|
|
69
|
-
"peerDependencies": {
|
|
70
|
-
"typescript": ">=4.7.0"
|
|
71
|
-
},
|
|
72
|
-
"peerDependenciesMeta": {
|
|
73
|
-
"typescript": {
|
|
74
|
-
"optional": true
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "brainerce",
|
|
3
|
+
"version": "1.10.1",
|
|
4
|
+
"description": "Official SDK for building e-commerce storefronts with Brainerce Platform. Perfect for vibe-coded sites, AI-built stores (Cursor, Lovable, v0), and custom storefronts.",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"module": "dist/index.mjs",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"require": "./dist/index.js",
|
|
12
|
+
"import": "./dist/index.mjs"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist",
|
|
17
|
+
"README.md",
|
|
18
|
+
"AI_BUILDER_PROMPT.md"
|
|
19
|
+
],
|
|
20
|
+
"scripts": {
|
|
21
|
+
"build": "tsup src/index.ts --format cjs,esm --dts",
|
|
22
|
+
"dev": "tsup src/index.ts --format cjs,esm --dts --watch",
|
|
23
|
+
"lint": "eslint \"src/**/*.ts\"",
|
|
24
|
+
"test": "vitest run",
|
|
25
|
+
"test:watch": "vitest",
|
|
26
|
+
"prepublishOnly": "pnpm build"
|
|
27
|
+
},
|
|
28
|
+
"keywords": [
|
|
29
|
+
"brainerce",
|
|
30
|
+
"e-commerce",
|
|
31
|
+
"ecommerce",
|
|
32
|
+
"sdk",
|
|
33
|
+
"vibe-coding",
|
|
34
|
+
"vibe-coded",
|
|
35
|
+
"ai-commerce",
|
|
36
|
+
"storefront",
|
|
37
|
+
"headless-commerce",
|
|
38
|
+
"multi-platform",
|
|
39
|
+
"shopify",
|
|
40
|
+
"tiktok",
|
|
41
|
+
"cursor",
|
|
42
|
+
"lovable",
|
|
43
|
+
"v0",
|
|
44
|
+
"cart",
|
|
45
|
+
"checkout",
|
|
46
|
+
"products",
|
|
47
|
+
"sync"
|
|
48
|
+
],
|
|
49
|
+
"author": "Brainerce",
|
|
50
|
+
"license": "MIT",
|
|
51
|
+
"repository": {
|
|
52
|
+
"type": "git",
|
|
53
|
+
"url": "https://github.com/brainerce/brainerce.git",
|
|
54
|
+
"directory": "packages/sdk"
|
|
55
|
+
},
|
|
56
|
+
"homepage": "https://brainerce.com",
|
|
57
|
+
"bugs": {
|
|
58
|
+
"url": "https://github.com/brainerce/brainerce/issues"
|
|
59
|
+
},
|
|
60
|
+
"devDependencies": {
|
|
61
|
+
"@types/node": "^25.0.3",
|
|
62
|
+
"@typescript-eslint/eslint-plugin": "^8.50.1",
|
|
63
|
+
"@typescript-eslint/parser": "^8.50.1",
|
|
64
|
+
"eslint": "^9.39.2",
|
|
65
|
+
"tsup": "^8.0.0",
|
|
66
|
+
"typescript": "^5.3.0",
|
|
67
|
+
"vitest": "^1.0.0"
|
|
68
|
+
},
|
|
69
|
+
"peerDependencies": {
|
|
70
|
+
"typescript": ">=4.7.0"
|
|
71
|
+
},
|
|
72
|
+
"peerDependenciesMeta": {
|
|
73
|
+
"typescript": {
|
|
74
|
+
"optional": true
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|