@typeberry/lib 0.1.3-0eba10b → 0.1.3-3344df0
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/index.cjs +0 -6
- package/index.d.ts +1 -8
- package/index.js +0 -6
- package/package.json +1 -1
package/index.cjs
CHANGED
|
@@ -12292,12 +12292,6 @@ class AccumulationStateUpdate {
|
|
|
12292
12292
|
}
|
|
12293
12293
|
return update;
|
|
12294
12294
|
}
|
|
12295
|
-
/** Retrieve and clear pending transfers. */
|
|
12296
|
-
takeTransfers() {
|
|
12297
|
-
const transfers = this.transfers;
|
|
12298
|
-
this.transfers = [];
|
|
12299
|
-
return transfers;
|
|
12300
|
-
}
|
|
12301
12295
|
}
|
|
12302
12296
|
class PartiallyUpdatedState {
|
|
12303
12297
|
state;
|
package/index.d.ts
CHANGED
|
@@ -17736,7 +17736,7 @@ declare class AccumulationStateUpdate {
|
|
|
17736
17736
|
/** Services state updates. */
|
|
17737
17737
|
public readonly services: ServicesUpdate,
|
|
17738
17738
|
/** Pending transfers. */
|
|
17739
|
-
public transfers: PendingTransfer[],
|
|
17739
|
+
public readonly transfers: PendingTransfer[],
|
|
17740
17740
|
/** Yielded accumulation root. */
|
|
17741
17741
|
public readonly yieldedRoots: Map<ServiceId, OpaqueHash> = new Map(),
|
|
17742
17742
|
) {}
|
|
@@ -17792,13 +17792,6 @@ declare class AccumulationStateUpdate {
|
|
|
17792
17792
|
}
|
|
17793
17793
|
return update;
|
|
17794
17794
|
}
|
|
17795
|
-
|
|
17796
|
-
/** Retrieve and clear pending transfers. */
|
|
17797
|
-
takeTransfers() {
|
|
17798
|
-
const transfers = this.transfers;
|
|
17799
|
-
this.transfers = [];
|
|
17800
|
-
return transfers;
|
|
17801
|
-
}
|
|
17802
17795
|
}
|
|
17803
17796
|
|
|
17804
17797
|
type StateSlice = Pick<State, "getService" | "privilegedServices">;
|
package/index.js
CHANGED
|
@@ -12289,12 +12289,6 @@ class AccumulationStateUpdate {
|
|
|
12289
12289
|
}
|
|
12290
12290
|
return update;
|
|
12291
12291
|
}
|
|
12292
|
-
/** Retrieve and clear pending transfers. */
|
|
12293
|
-
takeTransfers() {
|
|
12294
|
-
const transfers = this.transfers;
|
|
12295
|
-
this.transfers = [];
|
|
12296
|
-
return transfers;
|
|
12297
|
-
}
|
|
12298
12292
|
}
|
|
12299
12293
|
class PartiallyUpdatedState {
|
|
12300
12294
|
state;
|