akanjs 2.2.7-rc.2 → 2.2.7-rc.4
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.
|
@@ -691,7 +691,8 @@ export class FetchClient {
|
|
|
691
691
|
const sig = {} as any;
|
|
692
692
|
Object.entries(serializedSignal).forEach(([refName, serializedSignal]) => {
|
|
693
693
|
if (!serializedSignal.slice) return;
|
|
694
|
-
const cnst = ConstantRegistry.getDatabase(refName);
|
|
694
|
+
const cnst = ConstantRegistry.getDatabase(refName, { allowEmpty: true });
|
|
695
|
+
if (!cnst) return;
|
|
695
696
|
const slices = Object.entries(serializedSignal.slice).map(([suffix, serializedSlice]) => {
|
|
696
697
|
const sliceName = `${refName}${capitalize(suffix)}`;
|
|
697
698
|
proxy.slice[sliceName] = { refName, sliceName, argLength: serializedSlice.args.length };
|