{"version":3,"file":"SnapProvider.cjs","sourceRoot":"","sources":["../../src/common/SnapProvider.ts"],"names":[],"mappings":";;;AAAA,yEAAqE;AAErE,MAAa,YAAa,SAAQ,gCAAc;IAC9C,yFAAyF;IACzF,oEAAoE;IACpE,yCAAyC;IACzC,cAAc;QACZ,IAAI,CAAC,gBAAgB,EAAE,CAAC;IAC1B,CAAC;CACF;AAPD,oCAOC","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"]}