fix: use npm package of rpc

This commit is contained in:
iCrawl 2021-02-10 04:31:00 +01:00
parent aa5e0c97da
commit c7f09da1ab
No known key found for this signature in database
GPG key ID: 1AB888B16355FBB2
2 changed files with 12 additions and 5 deletions

15
package-lock.json generated
View file

@ -10,7 +10,7 @@
"dependencies": { "dependencies": {
"bufferutil": "^4.0.3", "bufferutil": "^4.0.3",
"dayjs": "^1.10.4", "dayjs": "^1.10.4",
"discord-rpc": "github:discordjs/RPC", "discord-rpc": "^3.1.4",
"tslib": "^2.1.0", "tslib": "^2.1.0",
"utf-8-validate": "^5.0.4" "utf-8-validate": "^5.0.4"
}, },
@ -990,10 +990,16 @@
} }
}, },
"node_modules/discord-rpc": { "node_modules/discord-rpc": {
"resolved": "git+ssh://git@github.com/discordjs/RPC.git#cbdd31f98b20de0222a793ae0b14018f8119cfb2", "version": "3.1.4",
"resolved": "https://registry.npmjs.org/discord-rpc/-/discord-rpc-3.1.4.tgz",
"integrity": "sha512-QaBu+gHica2SzgRAmTpuJ4J8DX9+fDwAqhvaie3hcbkU9WPqewEPh21pWdd/7vTI/JNuapU7PFm2ZKg3BTkbGg==",
"license": "MIT",
"dependencies": { "dependencies": {
"node-fetch": "^2.6.1", "node-fetch": "^2.6.1",
"ws": "^7.3.1" "ws": "^7.3.1"
},
"peerDependencies": {
"register-scheme": "github:devsnek/node-register-scheme"
} }
}, },
"node_modules/doctrine": { "node_modules/doctrine": {
@ -4008,8 +4014,9 @@
} }
}, },
"discord-rpc": { "discord-rpc": {
"version": "git+ssh://git@github.com/discordjs/RPC.git#cbdd31f98b20de0222a793ae0b14018f8119cfb2", "version": "3.1.4",
"from": "discord-rpc@github:discordjs/RPC", "resolved": "https://registry.npmjs.org/discord-rpc/-/discord-rpc-3.1.4.tgz",
"integrity": "sha512-QaBu+gHica2SzgRAmTpuJ4J8DX9+fDwAqhvaie3hcbkU9WPqewEPh21pWdd/7vTI/JNuapU7PFm2ZKg3BTkbGg==",
"requires": { "requires": {
"node-fetch": "^2.6.1", "node-fetch": "^2.6.1",
"ws": "^7.3.1" "ws": "^7.3.1"

View file

@ -161,7 +161,7 @@
"dependencies": { "dependencies": {
"bufferutil": "^4.0.3", "bufferutil": "^4.0.3",
"dayjs": "^1.10.4", "dayjs": "^1.10.4",
"discord-rpc": "github:discordjs/RPC", "discord-rpc": "^3.1.4",
"tslib": "^2.1.0", "tslib": "^2.1.0",
"utf-8-validate": "^5.0.4" "utf-8-validate": "^5.0.4"
}, },