@dcl/playground-assets 7.1.2-4408174335.commit-e673686 → 7.1.2-4409125554.commit-f109d0e

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 CHANGED
@@ -177,7 +177,7 @@ export declare interface BaseComponent<T> {
177
177
  * This function writes the whole state of the component into a ByteBuffer
178
178
  * @public
179
179
  */
180
- dumpCrdtState(buffer: ByteBuffer): void;
180
+ dumpCrdtStateToBuffer(buffer: ByteBuffer): void;
181
181
  /**
182
182
  * @public
183
183
  * Marks the entity as deleted and signals it cannot be used ever again. It must
package/dist/beta.d.ts CHANGED
@@ -177,7 +177,7 @@ export declare interface BaseComponent<T> {
177
177
  * This function writes the whole state of the component into a ByteBuffer
178
178
  * @public
179
179
  */
180
- dumpCrdtState(buffer: ByteBuffer): void;
180
+ dumpCrdtStateToBuffer(buffer: ByteBuffer): void;
181
181
  /**
182
182
  * @public
183
183
  * Marks the entity as deleted and signals it cannot be used ever again. It must
@@ -177,7 +177,7 @@ export declare interface BaseComponent<T> {
177
177
  * This function writes the whole state of the component into a ByteBuffer
178
178
  * @public
179
179
  */
180
- dumpCrdtState(buffer: ByteBuffer): void;
180
+ dumpCrdtStateToBuffer(buffer: ByteBuffer): void;
181
181
  /**
182
182
  * @public
183
183
  * Marks the entity as deleted and signals it cannot be used ever again. It must
package/dist/index.js CHANGED
@@ -15261,7 +15261,7 @@
15261
15261
  },
15262
15262
  getCrdtUpdates: createGetCrdtMessagesForLww(componentId, timestamps, dirtyIterator, schema, data),
15263
15263
  updateFromCrdt: createUpdateLwwFromCrdt(componentId, timestamps, schema, data),
15264
- dumpCrdtState: createDumpLwwFunctionFromCrdt(componentId, timestamps, schema, data)
15264
+ dumpCrdtStateToBuffer: createDumpLwwFunctionFromCrdt(componentId, timestamps, schema, data)
15265
15265
  };
15266
15266
  }
15267
15267
 
@@ -15435,7 +15435,7 @@
15435
15435
  }
15436
15436
  return [null, undefined];
15437
15437
  },
15438
- dumpCrdtState: function (buffer) {
15438
+ dumpCrdtStateToBuffer: function (buffer) {
15439
15439
  for (const [entity, { raw }] of data) {
15440
15440
  for (const it of raw) {
15441
15441
  const buf = new ReadWriteByteBuffer();