@matter/react-native 0.11.0 → 0.11.1
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var
|
|
2
|
+
var import_general = require("@matter/general");
|
|
3
3
|
var import_ReactNativeEnvironment = require("./ReactNativeEnvironment.js");
|
|
4
4
|
var import_encoding = require("react-native-polyfill-globals/src/encoding");
|
|
5
5
|
/**
|
|
@@ -8,5 +8,5 @@ var import_encoding = require("react-native-polyfill-globals/src/encoding");
|
|
|
8
8
|
* SPDX-License-Identifier: Apache-2.0
|
|
9
9
|
*/
|
|
10
10
|
(0, import_encoding.polyfill)();
|
|
11
|
-
|
|
11
|
+
import_general.Environment.default = (0, import_ReactNativeEnvironment.ReactNativeEnvironment)();
|
|
12
12
|
//# sourceMappingURL=register.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/environment/register.ts"],
|
|
4
|
-
"mappings": ";AAMA,
|
|
4
|
+
"mappings": ";AAMA,qBAA4B;AAC5B,oCAAuC;AAIvC,sBAAyB;AAXzB;AAAA;AAAA;AAAA;AAAA;AAAA,IAaA,0BAAS;AAET,2BAAY,cAAU,sDAAuB;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright 2022-2024 Matter.js Authors
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
import { Environment } from "@
|
|
6
|
+
import { Environment } from "@matter/general";
|
|
7
7
|
import { ReactNativeEnvironment } from "./ReactNativeEnvironment.js";
|
|
8
8
|
import { polyfill } from "react-native-polyfill-globals/src/encoding";
|
|
9
9
|
polyfill();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@matter/react-native",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.1",
|
|
4
4
|
"description": "Experimental React Native support for matter.js",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"iot",
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
"#*": "./src/*"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@matter/general": "0.11.
|
|
40
|
-
"@matter/nodejs": "0.11.
|
|
41
|
-
"@matter/protocol": "0.11.
|
|
39
|
+
"@matter/general": "0.11.1",
|
|
40
|
+
"@matter/nodejs": "0.11.1",
|
|
41
|
+
"@matter/protocol": "0.11.1",
|
|
42
42
|
"@react-native-async-storage/async-storage": "^2.0.0",
|
|
43
43
|
"@react-native-community/netinfo": "^11.3.2",
|
|
44
44
|
"@types/jwk-to-pem": "^2.0.3",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"react-native-udp": "^4.1.7"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@matter/tools": "0.11.
|
|
53
|
+
"@matter/tools": "0.11.1"
|
|
54
54
|
},
|
|
55
55
|
"overrides": {
|
|
56
56
|
"brorand": "npm:@matter.js/brorand@1.1.0"
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import { Environment } from "@
|
|
7
|
+
import { Environment } from "@matter/general";
|
|
8
8
|
import { ReactNativeEnvironment } from "./ReactNativeEnvironment.js";
|
|
9
9
|
|
|
10
10
|
// Mainly import TextEncoder and TextDecoder polyfill
|