@dcl/playground-assets 7.1.3 → 7.1.4-4491693391.commit-569ecab
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/alpha.d.ts +4 -0
- package/dist/beta.d.ts +4 -0
- package/dist/index.bundled.d.ts +4 -0
- package/dist/index.js +10 -0
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +4 -0
- package/etc/playground-assets.api.json +93 -0
- package/etc/playground-assets.api.md +10 -0
- package/package.json +3 -3
package/dist/alpha.d.ts
CHANGED
|
@@ -1177,6 +1177,10 @@ export declare type CompositeProvider = {
|
|
|
1177
1177
|
getCompositeOrNull: (id: string) => Composite | null;
|
|
1178
1178
|
};
|
|
1179
1179
|
|
|
1180
|
+
export declare function compositeToBinary(composite: Composite): Uint8Array;
|
|
1181
|
+
|
|
1182
|
+
export declare function compositeToJson(composite: Composite): any;
|
|
1183
|
+
|
|
1180
1184
|
/**
|
|
1181
1185
|
* A conflict resolution message is the response to an outdated or invalid state
|
|
1182
1186
|
* in the CRDT.
|
package/dist/beta.d.ts
CHANGED
|
@@ -1177,6 +1177,10 @@ export declare type CompositeProvider = {
|
|
|
1177
1177
|
getCompositeOrNull: (id: string) => Composite | null;
|
|
1178
1178
|
};
|
|
1179
1179
|
|
|
1180
|
+
export declare function compositeToBinary(composite: Composite): Uint8Array;
|
|
1181
|
+
|
|
1182
|
+
export declare function compositeToJson(composite: Composite): any;
|
|
1183
|
+
|
|
1180
1184
|
/**
|
|
1181
1185
|
* A conflict resolution message is the response to an outdated or invalid state
|
|
1182
1186
|
* in the CRDT.
|
package/dist/index.bundled.d.ts
CHANGED
|
@@ -1177,6 +1177,10 @@ export declare type CompositeProvider = {
|
|
|
1177
1177
|
getCompositeOrNull: (id: string) => Composite | null;
|
|
1178
1178
|
};
|
|
1179
1179
|
|
|
1180
|
+
export declare function compositeToBinary(composite: Composite): Uint8Array;
|
|
1181
|
+
|
|
1182
|
+
export declare function compositeToJson(composite: Composite): any;
|
|
1183
|
+
|
|
1180
1184
|
/**
|
|
1181
1185
|
* A conflict resolution message is the response to an outdated or invalid state
|
|
1182
1186
|
* in the CRDT.
|
package/dist/index.js
CHANGED
|
@@ -16952,6 +16952,14 @@
|
|
|
16952
16952
|
function compositeFromBinary(buffer) {
|
|
16953
16953
|
return Composite.decode(buffer);
|
|
16954
16954
|
}
|
|
16955
|
+
/* @public @deprecated */
|
|
16956
|
+
function compositeToJson(composite) {
|
|
16957
|
+
return Composite.toJSON(composite);
|
|
16958
|
+
}
|
|
16959
|
+
/* @public @deprecated */
|
|
16960
|
+
function compositeToBinary(composite) {
|
|
16961
|
+
return Composite.encode(composite).finish();
|
|
16962
|
+
}
|
|
16955
16963
|
|
|
16956
16964
|
/**
|
|
16957
16965
|
* @public
|
|
@@ -43889,6 +43897,8 @@
|
|
|
43889
43897
|
exports.components = index;
|
|
43890
43898
|
exports.compositeFromBinary = compositeFromBinary;
|
|
43891
43899
|
exports.compositeFromJson = compositeFromJson;
|
|
43900
|
+
exports.compositeToBinary = compositeToBinary;
|
|
43901
|
+
exports.compositeToJson = compositeToJson;
|
|
43892
43902
|
exports.createEthereumProvider = createEthereumProvider;
|
|
43893
43903
|
exports.createInputSystem = createInputSystem;
|
|
43894
43904
|
exports.createPointerEventSystem = createPointerEventSystem;
|