Skip to content

Commit

Permalink
Merge pull request #638 from energywebfoundation/task/update-icl
Browse files Browse the repository at this point in the history
build(deps): update `iam-client-lib`
  • Loading branch information
Harasz authored Apr 25, 2022
2 parents 069386f + f584507 commit 2df2374
Show file tree
Hide file tree
Showing 7 changed files with 598 additions and 2,803 deletions.
3,337 changes: 586 additions & 2,751 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"@angular/router": "13.2.2",
"@angular/service-worker": "13.2.2",
"@fortawesome/fontawesome-free": "5.5.0",
"@gnosis.pm/safe-apps-sdk": "^4.3.0",
"@gnosis.pm/safe-apps-sdk": "^7.3.0",
"@mat-datetimepicker/core": "^7.0.1",
"@mat-datetimepicker/moment": "^7.0.1",
"@ngrx/effects": "13.0.2",
Expand All @@ -62,7 +62,7 @@
"bootstrap": "4.3.1",
"core-js": "3.21.0",
"hammerjs": "^2.0.8",
"iam-client-lib": "^5.1.0-alpha.5",
"iam-client-lib": "^5.1.0-alpha.17",
"moment": "2.22.2",
"ng-qrcode": "6.0.0",
"ngx-bootstrap": "8.0.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
diff --git a/node_modules/@walletconnect/ethereum-provider/dist/cjs/index.js b/node_modules/@walletconnect/ethereum-provider/dist/cjs/index.js
index fe36b60..e692845 100644
index 8b65632..37ee777 100644
--- a/node_modules/@walletconnect/ethereum-provider/dist/cjs/index.js
+++ b/node_modules/@walletconnect/ethereum-provider/dist/cjs/index.js
@@ -63,6 +63,8 @@ class WalletConnectProvider {
return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
@@ -68,6 +68,8 @@ class WalletConnectProvider {
return tslib_1.__awaiter(this, void 0, void 0, function* () {
if (!this.signer.connection.connected) {
yield this.signer.connect();
+ const chainId = this.signer.connection.chainId;
Expand All @@ -12,10 +12,10 @@ index fe36b60..e692845 100644
});
}
diff --git a/node_modules/@walletconnect/ethereum-provider/dist/esm/index.js b/node_modules/@walletconnect/ethereum-provider/dist/esm/index.js
index 136774d..006e149 100644
index cb51733..c2b55f3 100644
--- a/node_modules/@walletconnect/ethereum-provider/dist/esm/index.js
+++ b/node_modules/@walletconnect/ethereum-provider/dist/esm/index.js
@@ -55,6 +55,8 @@ class WalletConnectProvider {
@@ -60,6 +60,8 @@ class WalletConnectProvider {
async connect() {
if (!this.signer.connection.connected) {
await this.signer.connect();
Expand Down
40 changes: 0 additions & 40 deletions patches/@walletconnect+jsonrpc-provider+1.0.0.patch

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Injectable } from '@angular/core';
import { IamService } from '../iam.service';
import { ClaimData } from 'iam-client-lib/dist/src/modules/didRegistry/did.types';
import { ClaimData } from 'iam-client-lib';
import { from, Observable } from 'rxjs';
import { CancelButton } from '../../../layout/loading/loading.component';
import { LoadingService } from '../loading.service';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Injectable } from '@angular/core';
import { IamService } from '../iam.service';
import { SearchType } from 'iam-client-lib/dist/src/modules/cacheClient/cacheClient.types';
import { SearchType } from 'iam-client-lib';
import { from } from 'rxjs';

@Injectable({
Expand Down
6 changes: 3 additions & 3 deletions src/app/shared/services/gnosis.safe.service.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import SafeAppsSDK from '@gnosis.pm/safe-apps-sdk';
import SafeAppsSDK, { Opts } from '@gnosis.pm/safe-apps-sdk';

const opts = {
whitelistedDomains: [/gnosis-safe.io/],
const opts: Opts = {
allowedDomains: [/gnosis-safe.io/],
};

export const safeAppSdk = new SafeAppsSDK(opts);

0 comments on commit 2df2374

Please sign in to comment.