Skip to content

Commit 5ec5539

Browse files
authored
feat: showing integrator fee (#86)
* feat: show integration fee in review; updated comments * feat: migrated to pnpm, importing plugin from root workspace to examples workspace * v1.2.6
1 parent abc5637 commit 5ec5539

File tree

12 files changed

+20028
-27727
lines changed

12 files changed

+20028
-27727
lines changed

examples/with-next/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
},
1111
"dependencies": {
1212
"@rainbow-me/rainbowkit": "^1.0.9",
13-
"@socket.tech/plugin": "^1.2.4",
13+
"@socket.tech/plugin": "workspace:*",
1414
"ethers": "5.7.2",
1515
"next": "^13.4.19",
1616
"react": "^18.2.0",

examples/with-next/yarn.lock

Lines changed: 0 additions & 5101 deletions
This file was deleted.

examples/with-react/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,21 @@
33
"version": "1.0.0",
44
"description": "A sample react app using Socket Plugin",
55
"main": "index.js",
6+
"private": true,
67
"scripts": {
78
"start": "react-scripts start",
89
"build": "react-scripts build"
910
},
1011
"author": "Salil Naik (salil-naik)",
1112
"license": "ISC",
1213
"dependencies": {
13-
"@socket.tech/plugin": "^1.2.4",
14+
"@socket.tech/plugin": "workspace:*",
1415
"ethers": "^6.7.1",
1516
"react": "^18.2.0",
1617
"react-dom": "^18.2.0"
1718
},
1819
"devDependencies": {
20+
"@types/react": "^18.2.20",
1921
"@types/react-dom": "^18.2.7",
2022
"react-scripts": "^5.0.1",
2123
"tailwindcss": "^3.3.3",

examples/with-react/yarn.lock

Lines changed: 0 additions & 9982 deletions
This file was deleted.

package.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@socket.tech/plugin",
3-
"version": "1.2.5",
3+
"version": "1.2.6",
44
"main": "dist/index.js",
55
"module": "dist/index.es.js",
66
"types": "dist/index.d.ts",
@@ -61,8 +61,8 @@
6161
"chromatic": "^6.7.0",
6262
"dotenv": "^16.0.1",
6363
"postcss": "^8.4.14",
64-
"react": ">=17.0.1",
65-
"react-dom": ">=17.0.1",
64+
"react": "^18.2.0",
65+
"react-dom": "^18.2.0",
6666
"rollup": "^2.75.6",
6767
"rollup-plugin-babel": "^4.4.0",
6868
"rollup-plugin-dts": "^4.2.2",
@@ -78,5 +78,9 @@
7878
"readme": "ERROR: No README data found!",
7979
"publishConfig": {
8080
"access": "public"
81-
}
81+
},
82+
"workspaces": [
83+
"examples/*",
84+
"@socket.tech/plugin"
85+
]
8286
}

0 commit comments

Comments
 (0)