Skip to content

Commit

Permalink
Merge pull request #113 from getsafle/feature-borderRadiusissue
Browse files Browse the repository at this point in the history
borderradius and mantle url updated
  • Loading branch information
sshubhamagg authored Jan 4, 2024
2 parents 71bd54c + ea7510a commit 3a52cff
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 8 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,9 @@

### 2.0.8 (2023-12-27)

* Fixed Widget URL
* Fixed Widget URL

### 2.0.9 (2024-04-01)

* Added widget border radius
* Updated Mantle RPC URL
2 changes: 1 addition & 1 deletion dist/widgetManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ class WidgetManager {
this.iframe.style.width = "360px";
this.iframe.style.right = "10px";
this.iframe.style.top = "10px";
this.iframe.style.position = "absolute";
this.iframe.style.borderRadius = "20px";
this.iframe.style.position = "absolute";
document.body.appendChild(this.iframe);
try {
const connection = Penpal.connectToChild({
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@getsafle/safle-keyless-js",
"version": "2.0.8",
"version": "2.0.9",
"description": "",
"main": "dist/index.js",
"scripts": {
Expand Down
6 changes: 3 additions & 3 deletions src/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const networks: { [key: string]: INetwork } = {
chainId: "111",
},
mantle: {
nodeUrl: "http://rpc.mantle.xyz/",
nodeUrl: "https://rpc.ankr.com/mantle",
chainId: "5000",
},
mantletestnet: {
Expand Down Expand Up @@ -88,7 +88,7 @@ const networks: { [key: string]: INetwork } = {
},
"80001": {
nodeUrl:
"https://polygon-mumbai.infura.io/v3/814228beb1ff4d5991988329e57c349c",
"https://polygon-mumbai.infura.io/v3/eff77f64ebfd4153b083c7867ccf115d",
chainId: "80001",
},
"10": {
Expand Down Expand Up @@ -120,7 +120,7 @@ const networks: { [key: string]: INetwork } = {
chainId: "111",
},
"5000": {
nodeUrl: "http://rpc.mantle.xyz/",
nodeUrl: "https://rpc.ankr.com/mantle",
chainId: "5000",
},
"5001": {
Expand Down
1 change: 1 addition & 0 deletions src/widgetManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ export default class WidgetManager {
this.iframe.style.width = "360px";
this.iframe.style.right = "10px";
this.iframe.style.top = "10px";
this.iframe.style.borderRadius = "20px";
this.iframe.style.position = "absolute";

document.body.appendChild(this.iframe);
Expand Down

0 comments on commit 3a52cff

Please sign in to comment.