@masknet/compartment
Advanced tools
Comparing version 0.3.6 to 0.3.7
@@ -440,3 +440,3 @@ class ModuleSource { | ||
} else { | ||
resolution2.module.#AddLiveExportCallback(i.LocalName, (newValue)=>{ | ||
resolution2.module.#AddLiveExportCallback(i.ImportName, (newValue)=>{ | ||
Object.defineProperty(env, i.LocalName, { | ||
@@ -443,0 +443,0 @@ value: newValue, |
@@ -228,3 +228,3 @@ import { all, ambiguous, empty, namespace, PromiseCapability, } from './utils/spec.js'; | ||
else { | ||
resolution.module.#AddLiveExportCallback(i.LocalName, (newValue) => { | ||
resolution.module.#AddLiveExportCallback(i.ImportName, (newValue) => { | ||
Object.defineProperty(env, i.LocalName, { | ||
@@ -231,0 +231,0 @@ value: newValue, |
{ | ||
"name": "@masknet/compartment", | ||
"version": "0.3.6", | ||
"version": "0.3.7", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
@@ -256,3 +256,3 @@ import type { ModuleSource } from './ModuleSource.js' | ||
} else { | ||
resolution.module.#AddLiveExportCallback(i.LocalName, (newValue) => { | ||
resolution.module.#AddLiveExportCallback(i.ImportName, (newValue) => { | ||
Object.defineProperty(env, i.LocalName, { | ||
@@ -259,0 +259,0 @@ value: newValue, |
Sorry, the diff of this file is not supported yet
195918