@squide/msw 3.1.1 → 3.2.0
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/CHANGELOG.md +11 -0
- package/dist/{chunk-AMKPYN4M.js → chunk-CL6F3JZI.js} +1 -1
- package/dist/{chunk-W5GMS2JV.js → chunk-CNOIR255.js} +1 -1
- package/dist/{chunk-2FX5W4F5.js → chunk-YBOXRDQQ.js} +4 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/dist/mswPlugin.js +3 -3
- package/dist/mswState.d.ts +2 -1
- package/dist/mswState.js +1 -1
- package/dist/requestHandlerRegistry.js +2 -2
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @squide/msw
|
|
2
2
|
|
|
3
|
+
## 3.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#219](https://github.com/gsoft-inc/wl-squide/pull/219) [`25cb482`](https://github.com/gsoft-inc/wl-squide/commit/25cb482779ee280f3f7109de4607b92dcfeef7f3) Thanks [@patricklafrance](https://github.com/patricklafrance)! - Now dispatching events to enable instrumentation packages for observability platforms.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [[`25cb482`](https://github.com/gsoft-inc/wl-squide/commit/25cb482779ee280f3f7109de4607b92dcfeef7f3)]:
|
|
12
|
+
- @squide/core@5.4.0
|
|
13
|
+
|
|
3
14
|
## 3.1.1
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
|
@@ -30,6 +30,9 @@ function getMswState() {
|
|
|
30
30
|
function __setMswState(state) {
|
|
31
31
|
mswState = state;
|
|
32
32
|
}
|
|
33
|
+
function __clearMswState() {
|
|
34
|
+
mswState = void 0;
|
|
35
|
+
}
|
|
33
36
|
function setMswAsReady() {
|
|
34
37
|
getMswState().setAsReady();
|
|
35
38
|
}
|
|
@@ -43,4 +46,4 @@ function removeMswStateChangedListener(callback) {
|
|
|
43
46
|
getMswState().removeStateChangedListener(callback);
|
|
44
47
|
}
|
|
45
48
|
|
|
46
|
-
export { MswState, __setMswState, addMswStateChangedListener, isMswReady, removeMswStateChangedListener, setMswAsReady };
|
|
49
|
+
export { MswState, __clearMswState, __setMswState, addMswStateChangedListener, isMswReady, removeMswStateChangedListener, setMswAsReady };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { MswPlugin, getMswPlugin } from './mswPlugin.js';
|
|
2
|
-
export { MswState, MswStateChangedListener, __setMswState, addMswStateChangedListener, isMswReady, removeMswStateChangedListener, setMswAsReady } from './mswState.js';
|
|
2
|
+
export { MswState, MswStateChangedListener, __clearMswState, __setMswState, addMswStateChangedListener, isMswReady, removeMswStateChangedListener, setMswAsReady } from './mswState.js';
|
|
3
3
|
export { RequestHandlerRegistry } from './requestHandlerRegistry.js';
|
|
4
4
|
import '@squide/core';
|
|
5
5
|
import 'msw';
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { MswPlugin, getMswPlugin } from './chunk-
|
|
2
|
-
export { RequestHandlerRegistry } from './chunk-
|
|
3
|
-
export { MswState, __setMswState, addMswStateChangedListener, isMswReady, removeMswStateChangedListener, setMswAsReady } from './chunk-
|
|
1
|
+
export { MswPlugin, getMswPlugin } from './chunk-CNOIR255.js';
|
|
2
|
+
export { RequestHandlerRegistry } from './chunk-CL6F3JZI.js';
|
|
3
|
+
export { MswState, __clearMswState, __setMswState, addMswStateChangedListener, isMswReady, removeMswStateChangedListener, setMswAsReady } from './chunk-YBOXRDQQ.js';
|
package/dist/mswPlugin.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { MswPlugin, getMswPlugin } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
export { MswPlugin, getMswPlugin } from './chunk-CNOIR255.js';
|
|
2
|
+
import './chunk-CL6F3JZI.js';
|
|
3
|
+
import './chunk-YBOXRDQQ.js';
|
package/dist/mswState.d.ts
CHANGED
|
@@ -7,9 +7,10 @@ declare class MswState {
|
|
|
7
7
|
get isReady(): boolean;
|
|
8
8
|
}
|
|
9
9
|
declare function __setMswState(state: MswState): void;
|
|
10
|
+
declare function __clearMswState(): void;
|
|
10
11
|
declare function setMswAsReady(): void;
|
|
11
12
|
declare function isMswReady(): boolean;
|
|
12
13
|
declare function addMswStateChangedListener(callback: MswStateChangedListener): void;
|
|
13
14
|
declare function removeMswStateChangedListener(callback: MswStateChangedListener): void;
|
|
14
15
|
|
|
15
|
-
export { MswState, type MswStateChangedListener, __setMswState, addMswStateChangedListener, isMswReady, removeMswStateChangedListener, setMswAsReady };
|
|
16
|
+
export { MswState, type MswStateChangedListener, __clearMswState, __setMswState, addMswStateChangedListener, isMswReady, removeMswStateChangedListener, setMswAsReady };
|
package/dist/mswState.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { MswState, __setMswState, addMswStateChangedListener, isMswReady, removeMswStateChangedListener, setMswAsReady } from './chunk-
|
|
1
|
+
export { MswState, __clearMswState, __setMswState, addMswStateChangedListener, isMswReady, removeMswStateChangedListener, setMswAsReady } from './chunk-YBOXRDQQ.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { RequestHandlerRegistry } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { RequestHandlerRegistry } from './chunk-CL6F3JZI.js';
|
|
2
|
+
import './chunk-YBOXRDQQ.js';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@squide/msw",
|
|
3
3
|
"author": "Workleap",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.2.0",
|
|
5
5
|
"description": "Add support for MSW to @squide application shell.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"repository": {
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@types/react": "18.3.
|
|
40
|
+
"@types/react": "18.3.11",
|
|
41
41
|
"@types/react-dom": "18.3.0",
|
|
42
42
|
"@workleap/eslint-plugin": "3.2.2",
|
|
43
43
|
"@workleap/tsup-configs": "3.0.6",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"typescript": "5.5.4"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@squide/core": "5.
|
|
53
|
+
"@squide/core": "5.4.0"
|
|
54
54
|
},
|
|
55
55
|
"sideEffects": false,
|
|
56
56
|
"engines": {
|