{"version":3,"file":"SnapProvider.mjs","sourceRoot":"","sources":["../../src/common/SnapProvider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,4CAA4C;AAErE,MAAM,OAAO,YAAa,SAAQ,cAAc;IAC9C,yFAAyF;IACzF,oEAAoE;IACpE,yCAAyC;IACzC,cAAc;QACZ,IAAI,CAAC,gBAAgB,EAAE,CAAC;IAC1B,CAAC;CACF","sourcesContent":["import { StreamProvider } from '@metamask/providers/stream-provider';\n\nexport class SnapProvider extends StreamProvider {\n  // Since only the request function is exposed to the Snap, we can initialize the provider\n  // without making the metamask_getProviderState request, saving us a\n  // potential network request before boot.\n  initializeSync() {\n    this._initializeState();\n  }\n}\n"]}