Skip to content

Commit 08c88e1

Browse files
authored
Use this instead self for avoid SSR issues (#60)
1 parent eccf626 commit 08c88e1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@gnosis.pm/safe-react-gateway-sdk",
3-
"version": "2.8.6",
3+
"version": "2.9.0",
44
"main": "dist/index.min.js",
55
"types": "dist/index.d.ts",
66
"files": [

webpack.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ module.exports = {
1313
path: dist,
1414
libraryTarget: 'umd',
1515
library: JSON.stringify(require('./package.json').name),
16+
globalObject: 'this',
1617
},
1718
resolve: {
1819
extensions: ['.ts'],

0 commit comments

Comments
 (0)