@dcl/playground-assets 7.0.6-4124638014.commit-0cffdf7 → 7.0.6-4138167187.commit-c9d306a

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
  {
2
2
  "name": "@dcl/sdk",
3
- "version": "7.0.6-4124638014.commit-0cffdf7",
3
+ "version": "7.0.6-4138167187.commit-c9d306a",
4
4
  "description": "",
5
5
  "main": "./index.js",
6
6
  "typings": "./index.d.ts",
@@ -26,6 +26,7 @@
26
26
  "@dcl/explorer": "1.0.77560-20230206183755.commit-ef27962",
27
27
  "@dcl/js-runtime": "file:../js-runtime",
28
28
  "@dcl/mini-comms": "1.0.0",
29
+ "@dcl/protocol": "1.0.0-4114477251.commit-ccb88d6",
29
30
  "@dcl/react-ecs": "file:../react-ecs",
30
31
  "@dcl/schemas": "6.6.0",
31
32
  "@types/inquirer": "^8.2.5",
@@ -56,5 +57,5 @@
56
57
  "displayName": "SDK",
57
58
  "tsconfig": "./tsconfig.json"
58
59
  },
59
- "commit": "0cffdf79b17dd5481a8f85be14e9fcede103650a"
60
+ "commit": "c9d306af4a8af8d3cf0f7da983300be92d6b3bc8"
60
61
  }
@@ -4330,7 +4330,9 @@ export declare namespace Schemas {
4330
4330
  /** @public */
4331
4331
  const Entity: ISchema<Entity>;
4332
4332
  /** @public */
4333
- const Enum: <T>(type: ISchema<any>) => ISchema<T>;
4333
+ const EnumNumber: <T>(enumObject: Record<any, any>, defaultValue: T) => ISchema<T>;
4334
+ /** @public */
4335
+ const EnumString: <T>(enumObject: Record<any, any>, defaultValue: T) => ISchema<T>;
4334
4336
  /** @public */
4335
4337
  const Array: <T>(type: ISchema<T>) => ISchema<T[]>;
4336
4338
  /** @public */
@@ -39523,16 +39523,25 @@
39523
39523
  },
39524
39524
  {
39525
39525
  "kind": "Variable",
39526
- "canonicalReference": "@dcl/playground-assets!Schemas.Enum:var",
39526
+ "canonicalReference": "@dcl/playground-assets!Schemas.EnumNumber:var",
39527
39527
  "docComment": "/**\n * @public\n */\n",
39528
39528
  "excerptTokens": [
39529
39529
  {
39530
39530
  "kind": "Content",
39531
- "text": "Enum: "
39531
+ "text": "EnumNumber: "
39532
39532
  },
39533
39533
  {
39534
39534
  "kind": "Content",
39535
- "text": "<T>(type: "
39535
+ "text": "<T>(enumObject: "
39536
+ },
39537
+ {
39538
+ "kind": "Reference",
39539
+ "text": "Record",
39540
+ "canonicalReference": "!Record:type"
39541
+ },
39542
+ {
39543
+ "kind": "Content",
39544
+ "text": "<any, any>, defaultValue: T) => "
39536
39545
  },
39537
39546
  {
39538
39547
  "kind": "Reference",
@@ -39541,7 +39550,38 @@
39541
39550
  },
39542
39551
  {
39543
39552
  "kind": "Content",
39544
- "text": "<any>) => "
39553
+ "text": "<T>"
39554
+ }
39555
+ ],
39556
+ "isReadonly": true,
39557
+ "releaseTag": "Public",
39558
+ "name": "EnumNumber",
39559
+ "variableTypeTokenRange": {
39560
+ "startIndex": 1,
39561
+ "endIndex": 6
39562
+ }
39563
+ },
39564
+ {
39565
+ "kind": "Variable",
39566
+ "canonicalReference": "@dcl/playground-assets!Schemas.EnumString:var",
39567
+ "docComment": "/**\n * @public\n */\n",
39568
+ "excerptTokens": [
39569
+ {
39570
+ "kind": "Content",
39571
+ "text": "EnumString: "
39572
+ },
39573
+ {
39574
+ "kind": "Content",
39575
+ "text": "<T>(enumObject: "
39576
+ },
39577
+ {
39578
+ "kind": "Reference",
39579
+ "text": "Record",
39580
+ "canonicalReference": "!Record:type"
39581
+ },
39582
+ {
39583
+ "kind": "Content",
39584
+ "text": "<any, any>, defaultValue: T) => "
39545
39585
  },
39546
39586
  {
39547
39587
  "kind": "Reference",
@@ -39555,7 +39595,7 @@
39555
39595
  ],
39556
39596
  "isReadonly": true,
39557
39597
  "releaseTag": "Public",
39558
- "name": "Enum",
39598
+ "name": "EnumString",
39559
39599
  "variableTypeTokenRange": {
39560
39600
  "startIndex": 1,
39561
39601
  "endIndex": 6
@@ -2295,7 +2295,9 @@ export namespace Schemas {
2295
2295
  const // (undocumented)
2296
2296
  Entity: ISchema<Entity>;
2297
2297
  const // (undocumented)
2298
- Enum: <T>(type: ISchema<any>) => ISchema<T>;
2298
+ EnumNumber: <T>(enumObject: Record<any, any>, defaultValue: T) => ISchema<T>;
2299
+ const // (undocumented)
2300
+ EnumString: <T>(enumObject: Record<any, any>, defaultValue: T) => ISchema<T>;
2299
2301
  const // (undocumented)
2300
2302
  Array: <T>(type: ISchema<T>) => ISchema<T[]>;
2301
2303
  const // (undocumented)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcl/playground-assets",
3
- "version": "7.0.6-4124638014.commit-0cffdf7",
3
+ "version": "7.0.6-4138167187.commit-c9d306a",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "typings": "./dist/index.d.ts",
@@ -17,12 +17,12 @@
17
17
  "author": "Decentraland",
18
18
  "license": "Apache-2.0",
19
19
  "dependencies": {
20
- "@dcl/sdk": "7.0.6-4124638014.commit-0cffdf7"
20
+ "@dcl/sdk": "7.0.6-4138167187.commit-c9d306a"
21
21
  },
22
22
  "minCliVersion": "3.12.3",
23
23
  "files": [
24
24
  "dist",
25
25
  "etc"
26
26
  ],
27
- "commit": "0cffdf79b17dd5481a8f85be14e9fcede103650a"
27
+ "commit": "c9d306af4a8af8d3cf0f7da983300be92d6b3bc8"
28
28
  }