@replit/protocol 0.3.38 → 0.3.39

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.
Files changed (2) hide show
  1. package/gen.sh +0 -12
  2. package/package.json +1 -2
package/gen.sh CHANGED
@@ -39,15 +39,3 @@ fi
39
39
  sed -i.bak 's/constructor(/private constructor(/' "${TARGET}.d.ts"
40
40
 
41
41
  rm -f "${TARGET}.d.ts.bak"
42
- flowgen \
43
- --interface-records \
44
- --no-inexact \
45
- --add-flow-header \
46
- --output-file "${TARGET}.js.flow" "${TARGET}.d.ts"
47
-
48
- if [ "$MODE" = "fix" ]; then
49
- sed -i.bak 's/declare var replit: typeof npm\$namespace\$replit;/export var replit = npm$namespace$replit;/' "${TARGET}.js.flow"
50
- sed -i.bak 's/declare var google: typeof npm\$namespace\$google;/export var google = npm$namespace$google;/' "${TARGET}.js.flow"
51
- sed -i.bak 's/declare export { api };/export var api = npm$namespace$replit$goval$api;/' "${TARGET}.js.flow"
52
- rm -f "${TARGET}.js.flow.bak"
53
- fi
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@replit/protocol",
3
- "version": "0.3.38",
3
+ "version": "0.3.39",
4
4
  "description": "JavaScript bindings for the Replit protocol",
5
5
  "main": "main/index.js",
6
6
  "repository": "https://github.com/replit/protocol",
@@ -16,7 +16,6 @@
16
16
  "protobufjs": "^7.2.5"
17
17
  },
18
18
  "devDependencies": {
19
- "flowgen": "~1.21.0",
20
19
  "protobufjs-cli": "^1.1.2"
21
20
  }
22
21
  }