@keplr-wallet/provider 0.12.118 → 0.12.120-rc.0
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.
- package/build/core.d.ts +5 -1
- package/build/core.js +672 -136
- package/build/core.js.map +1 -1
- package/build/inject.js +3 -0
- package/build/inject.js.map +1 -1
- package/package.json +4 -4
- package/src/core.ts +945 -297
- package/src/inject.ts +4 -0
package/src/inject.ts
CHANGED
@@ -129,6 +129,10 @@ export class InjectedKeplr implements IKeplr, KeplrCoreTypes {
|
|
129
129
|
throw new Error("Empty id");
|
130
130
|
}
|
131
131
|
|
132
|
+
if (message.method.startsWith("protected")) {
|
133
|
+
throw new Error("Rejected");
|
134
|
+
}
|
135
|
+
|
132
136
|
if (message.method === "version") {
|
133
137
|
throw new Error("Version is not function");
|
134
138
|
}
|