@faststore/core 2.2.67 → 2.2.68

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.
@@ -1,6 +1,6 @@
1
1
  $ yarn partytown & yarn generate && next build
2
- $ partytown copylib ./public/~partytown
3
2
  $ faststore generate-graphql -c
3
+ $ partytown copylib ./public/~partytown
4
4
  Partytown lib copied to: /home/runner/work/faststore/faststore/packages/core/public/~partytown
5
5
  success - GraphQL schema, types, and optimizations successfully generated 🎉
6
6
  warn - You have enabled experimental feature (scrollRestoration) in next.config.js.
@@ -1,23 +1,23 @@
1
1
  $ jest
2
- PASS test/server/index.test.ts (21.911 s)
2
+ PASS test/server/index.test.ts (21.676 s)
3
3
  FastStore GraphQL Layer
4
4
  @faststore/api
5
- ✓ should return a valid GraphQL schema (9 ms)
6
- ✓ should return a valid GraphQL schema contain all expected types (11 ms)
7
- ✓ should return a valid GraphQL schema contain all expected queries (1 ms)
8
- ✓ should return a valid GraphQL schema contain all expected mutations (1 ms)
5
+ ✓ should return a valid GraphQL schema (8 ms)
6
+ ✓ should return a valid GraphQL schema contain all expected types (4 ms)
7
+ ✓ should return a valid GraphQL schema contain all expected queries (2 ms)
8
+ ✓ should return a valid GraphQL schema contain all expected mutations
9
9
  VTEX API Extension
10
- ✓ getTypeDefsFromFolder function should return an Array (10 ms)
10
+ ✓ getTypeDefsFromFolder function should return an Array (8 ms)
11
11
  Third Party API Extension
12
- ✓ getTypeDefsFromFolder function should return an Array (13 ms)
12
+ ✓ getTypeDefsFromFolder function should return an Array (17 ms)
13
13
  Final Schema after merging
14
- ✓ should return a valid merged GraphQL schema (106 ms)
14
+ ✓ should return a valid merged GraphQL schema (54 ms)
15
15
  Envelop
16
- ✓ should exist with its plugins (41 ms)
17
- ✓ should handle options and execute (397 ms)
16
+ ✓ should exist with its plugins (71 ms)
17
+ ✓ should handle options and execute (585 ms)
18
18
 
19
19
  Test Suites: 1 passed, 1 total
20
20
  Tests: 9 passed, 9 total
21
21
  Snapshots: 0 total
22
- Time: 22.042 s
22
+ Time: 21.77 s
23
23
  Ran all test suites.
@@ -1316,6 +1316,56 @@
1316
1316
  "enumNames": ["Main", "Light", "Accent"],
1317
1317
  "enum": ["main", "light", "accent"],
1318
1318
  "default": "main"
1319
+ },
1320
+ "toastSubscribe": {
1321
+ "title": "Toast Subscribe",
1322
+ "type": "object",
1323
+ "properties": {
1324
+ "title": {
1325
+ "title": "Title",
1326
+ "description": "Message Title",
1327
+ "type": "string",
1328
+ "default": "Hooray!"
1329
+ },
1330
+ "message": {
1331
+ "title": "Message",
1332
+ "description": "Message",
1333
+ "type": "string",
1334
+ "default": "Thank for your subscription."
1335
+ },
1336
+ "icon": {
1337
+ "title": "Icon",
1338
+ "type": "string",
1339
+ "enumNames": ["CircleWavyCheck"],
1340
+ "enum": ["CircleWavyCheck"],
1341
+ "default": "CircleWavyCheck"
1342
+ }
1343
+ }
1344
+ },
1345
+ "toastSubscribeError": {
1346
+ "title": "Toast Subscribe Error",
1347
+ "type": "object",
1348
+ "properties": {
1349
+ "title": {
1350
+ "title": "Title",
1351
+ "description": "Message Title",
1352
+ "type": "string",
1353
+ "default": "Oops."
1354
+ },
1355
+ "message": {
1356
+ "title": "Message",
1357
+ "description": "Message",
1358
+ "type": "string",
1359
+ "default": "Something went wrong. Please Try again."
1360
+ },
1361
+ "icon": {
1362
+ "title": "Icon",
1363
+ "type": "string",
1364
+ "enumNames": ["CircleWavyWarning"],
1365
+ "enum": ["CircleWavyWarning"],
1366
+ "default": "CircleWavyWarning"
1367
+ }
1368
+ }
1319
1369
  }
1320
1370
  }
1321
1371
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faststore/core",
3
- "version": "2.2.67",
3
+ "version": "2.2.68",
4
4
  "license": "MIT",
5
5
  "repository": "vtex/faststore",
6
6
  "browserslist": "supports es6-module and not dead",
@@ -123,5 +123,5 @@
123
123
  "node": "18.19.0",
124
124
  "yarn": "1.19.1"
125
125
  },
126
- "gitHead": "2e3616dde052d47d898067f985b4b0e067311495"
126
+ "gitHead": "7f7a80acfe28da4f8466d5513411c3a01722e959"
127
127
  }