@keplr-wallet/provider 0.12.119 → 0.12.120-rc.1

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/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
  }