@portal-hq/connect 4.3.1 → 4.4.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/lib/commonjs/index.js +1 -1
- package/lib/esm/index.js +2 -2
- package/package.json +2 -2
- package/src/index.ts +3 -2
package/lib/commonjs/index.js
CHANGED
|
@@ -310,7 +310,7 @@ class PortalConnect {
|
|
|
310
310
|
this.emit('portal_connectError', message.data);
|
|
311
311
|
break;
|
|
312
312
|
default:
|
|
313
|
-
|
|
313
|
+
utils_1.sdkLogger.debug(`[PortalConnect] Received unsupported event "${message.event}". Ignoring.`);
|
|
314
314
|
break;
|
|
315
315
|
}
|
|
316
316
|
});
|
package/lib/esm/index.js
CHANGED
|
@@ -8,7 +8,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
10
|
import { Provider } from '@portal-hq/provider';
|
|
11
|
-
import { CHAIN_NAMESPACES, DEFAULT_HOSTS, } from '@portal-hq/utils';
|
|
11
|
+
import { CHAIN_NAMESPACES, DEFAULT_HOSTS, sdkLogger, } from '@portal-hq/utils';
|
|
12
12
|
class PortalConnect {
|
|
13
13
|
get address() {
|
|
14
14
|
return this.provider.address;
|
|
@@ -307,7 +307,7 @@ class PortalConnect {
|
|
|
307
307
|
this.emit('portal_connectError', message.data);
|
|
308
308
|
break;
|
|
309
309
|
default:
|
|
310
|
-
|
|
310
|
+
sdkLogger.debug(`[PortalConnect] Received unsupported event "${message.event}". Ignoring.`);
|
|
311
311
|
break;
|
|
312
312
|
}
|
|
313
313
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@portal-hq/connect",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.4.0",
|
|
4
4
|
"main": "lib/commonjs/index",
|
|
5
5
|
"module": "lib/esm/index",
|
|
6
6
|
"source": "src/index",
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
"react": "*",
|
|
33
33
|
"react-native": "*"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "76ce311809d877d0f8aa5373b0f4e9d85ee963f0"
|
|
36
36
|
}
|
package/src/index.ts
CHANGED
|
@@ -7,6 +7,7 @@ import {
|
|
|
7
7
|
IPortalProvider,
|
|
8
8
|
CHAIN_NAMESPACES,
|
|
9
9
|
DEFAULT_HOSTS,
|
|
10
|
+
sdkLogger,
|
|
10
11
|
} from '@portal-hq/utils'
|
|
11
12
|
|
|
12
13
|
import type {
|
|
@@ -387,8 +388,8 @@ class PortalConnect {
|
|
|
387
388
|
this.emit('portal_connectError', message.data as ErrorResult)
|
|
388
389
|
break
|
|
389
390
|
default:
|
|
390
|
-
|
|
391
|
-
`Received unsupported event "${message.event}". Ignoring.`,
|
|
391
|
+
sdkLogger.debug(
|
|
392
|
+
`[PortalConnect] Received unsupported event "${message.event}". Ignoring.`,
|
|
392
393
|
)
|
|
393
394
|
break
|
|
394
395
|
}
|