@metamask/keyring-api
Version:
MetaMask Keyring API
1 lines • 517 B
Source Map (JSON)
{"version":3,"file":"derivation.cjs","sourceRoot":"","sources":["../../src/api/derivation.ts"],"names":[],"mappings":";;;AACA,2CAAgD;AAEnC,QAAA,oBAAoB,GAAG,IAAA,qBAAa,EAC/C,gBAAgB,EAChB,kBAAkB,CACnB,CAAC","sourcesContent":["import type { Infer } from '@metamask/superstruct';\nimport { definePattern } from '@metamask/utils';\n\nexport const DerivationPathStruct = definePattern<`m/${string}`>(\n 'DerivationPath',\n /^m(?:\\/\\d+'?)+$/u,\n);\n\nexport type DerivationPath = Infer<typeof DerivationPathStruct>;\n"]}