0.56.1 • Published 2 months ago

@polkadot/extension-inject v0.56.1

Weekly downloads
3,893
License
Apache-2.0
Repository
github
Last release
2 months ago

@polkadot/extension-inject

This is a basic extension injector that manages access to the global objects available. As an extension developer, you don't need to manage access to the window object manually, by just calling enable here, the global object is setup and managed properly. From here any dapp can access it with the @polkadot/extension-dapp package;

Usage

import { injectExtension } from '@polkadot/extension-inject';

// this a the function that will be exposed to be callable by the dapp. It resolves a promise
// with the injected interface, (see `Injected`) when the dapp at `originName` (url) is allowed
// to access functionality
function enableFn (originName: string): Promise<Injected> {
  ...
}

// injects the extension into the page
injectExtension(enableFn, { name: 'myExtension', version: '1.0.1' });
@infinitebrahmanuniverse/nolb-_pol@everything-registry/sub-chunk-730@subwallet_connect/common@subwallet_connect/injected-walletsctm_widgetswap-widget-ctmsubwalletcommonmetadot-extension-baselumoz-sygma-sdk-coreparachainswappolkasafepolkadot-react-providerpicasso-sdk@arche-polkadot/extension-wallet@amplica-labs/siwf@astar-network/metamask-astar-adapter@avail-project/metamask-avail-adapter@bagpipes/sdk@bagpipes/wallet@bifrost-finance/metamask-bifrost-adapter@buildwithsygma/sygma-sdk-core@chainsafe/cypress-polkadot-wallet@cere-ddc-sdk/blockchain@cere/embed-wallet-inject@chainsafe/metamask-polkadot-adapter@gear-js/react-hooks@logion/extension-compat-metamask@nightlylabs/nightly-connect-polkadot@nightlylabs/wallet-selector-polkadot@nodefactory/metamask-polkadot-adapter@keep7777/onekey-polkadot-provider@keystonehq/polkadotsnap-adapter@prosopo/provider-gui@prosopo/account@prosopo/types@reef-chain/util-lib@stonios/connect-extensions@onekeyfe/onekey-polkadot-provider@polkadot/extension-base@polkadot/extension-chains@polkadot/extension-compat-metamask@polkadot/extension-dapp@polkagate/extension-dapp@poppyseed/lastic-sdk@polkadot-onboard/injected-wallets@patract/store-dapp@patract/store-sdk@phala/sdk@plutonication/plutonication@opside/sygma-sdk-core@subwallet/wallet-connect@subwallet-connect/subwallet@subwallet-connect/subwallet-polkadot@subwallet-connect/talisman@subwallet-connect/common@subwallet-connect/openbit@subwallet-connect/polkadot-js@subwallet-connect/injected-wallets@sora-test/wallet-connect@soramitsu/soraneo-wallet-web@talismn/connect-wallets@talisman-connect/wallets@setheum.js/sp-extension@clover-network/web-wallet-sdk@crypto-dex-sdk/polkadot@coong/sdk@canvas-js/chain-substrate@web3-setters-club/web3wallet-signer.jsaleph-sdk-tsgear-program-interface-corecustomusepolimecctm-widget_v2
0.56.1

2 months ago

0.55.1

2 months ago

0.54.1

2 months ago

0.53.1

3 months ago

0.48.2

6 months ago

0.48.1

6 months ago

0.49.1

5 months ago

0.49.2

5 months ago

0.49.3

5 months ago

0.47.5

7 months ago

0.47.6

6 months ago

0.51.1

5 months ago

0.52.3

4 months ago

0.52.1

4 months ago

0.52.2

4 months ago

0.50.1

5 months ago

0.47.4

8 months ago

0.47.3

8 months ago

0.47.2

8 months ago

0.47.1

8 months ago

0.46.9

9 months ago

0.46.8

9 months ago

0.46.7

10 months ago

0.46.6

1 year ago

0.46.4

2 years ago

0.46.5

2 years ago

0.46.3

2 years ago

0.46.2

2 years ago

0.46.1

2 years ago

0.45.5

2 years ago

0.45.3

2 years ago

0.45.4

2 years ago

0.45.2

2 years ago

0.45.1

2 years ago

0.44.9

2 years ago

0.44.7

2 years ago

0.44.8

2 years ago

0.44.6

2 years ago

0.44.4

2 years ago

0.44.5

2 years ago

0.44.2

2 years ago

0.44.3

2 years ago

0.44.2-3

3 years ago

0.44.2-4

3 years ago

0.44.2-2

3 years ago

0.43.2-5

3 years ago

0.43.2-6

3 years ago

0.43.2-7

3 years ago

0.43.2-8

3 years ago

0.44.1

3 years ago

0.43.3-3

3 years ago

0.43.3-4

3 years ago

0.43.3-5

3 years ago

0.43.3-0

3 years ago

0.43.3-1

3 years ago

0.43.3-2

3 years ago

0.43.4-0

3 years ago

0.44.2-1

3 years ago

0.44.2-0

3 years ago

0.43.3

3 years ago

0.43.2

3 years ago

0.43.2-4

3 years ago

0.43.2-0

3 years ago

0.43.2-1

3 years ago

0.43.2-2

3 years ago

0.43.2-3

3 years ago

0.42.10-4

3 years ago

0.42.10-3

3 years ago

0.42.10-2

3 years ago

0.42.11-0

3 years ago

0.43.1

3 years ago

0.42.10

3 years ago

0.42.10-1

3 years ago

0.42.10-0

3 years ago

0.42.8-16

3 years ago

0.42.8-12

3 years ago

0.42.8-13

3 years ago

0.42.8-14

3 years ago

0.42.8-15

3 years ago

0.42.8-10

3 years ago

0.42.8-11

3 years ago

0.42.8

3 years ago

0.42.9

3 years ago

0.42.4-0

3 years ago

0.42.5-0

3 years ago

0.42.5-1

3 years ago

0.42.5-8

3 years ago

0.42.5-9

3 years ago

0.42.5-6

3 years ago

0.42.5-7

3 years ago

0.42.5-4

3 years ago

0.42.5-5

3 years ago

0.42.5-2

3 years ago

0.42.5-3

3 years ago

0.42.6-0

3 years ago

0.42.6

3 years ago

0.42.7

3 years ago

0.42.4

3 years ago

0.42.5

3 years ago

0.42.3

3 years ago

0.42.6-5

3 years ago

0.42.6-3

3 years ago

0.42.6-4

3 years ago

0.42.6-1

3 years ago

0.42.6-2

3 years ago

0.42.7-2

3 years ago

0.42.7-0

3 years ago

0.42.7-1

3 years ago

0.42.5-14

3 years ago

0.42.5-13

3 years ago

0.42.5-16

3 years ago

0.42.5-15

3 years ago

0.42.5-10

3 years ago

0.42.5-12

3 years ago

0.42.5-11

3 years ago

0.42.3-9

3 years ago

0.42.3-10

3 years ago

0.42.8-9

3 years ago

0.42.8-7

3 years ago

0.42.8-8

3 years ago

0.42.8-5

3 years ago

0.42.8-6

3 years ago

0.42.8-3

3 years ago

0.42.8-4

3 years ago

0.42.8-1

3 years ago

0.42.8-2

3 years ago

0.42.8-0

3 years ago

0.41.1

3 years ago

0.41.2

3 years ago

0.42.2

3 years ago

0.42.1

3 years ago

0.41.2-2

3 years ago

0.41.2-3

3 years ago

0.41.2-0

3 years ago

0.41.2-1

3 years ago

0.41.3-1

3 years ago

0.41.3-2

3 years ago

0.41.3-3

3 years ago

0.41.3-4

3 years ago

0.41.3-0

3 years ago

0.41.3-5

3 years ago

0.41.3-6

3 years ago

0.41.3-7

3 years ago

0.41.3-8

3 years ago

0.40.5-4

3 years ago

0.42.3-2

3 years ago

0.42.3-3

3 years ago

0.42.3-0

3 years ago

0.42.3-1

3 years ago

0.42.3-8

3 years ago

0.42.3-6

3 years ago

0.42.3-7

3 years ago

0.42.3-4

3 years ago

0.42.3-5

3 years ago

0.40.5-3

3 years ago

0.40.4-7

3 years ago

0.40.4-6

3 years ago

0.40.5-2

3 years ago

0.40.5-0

3 years ago

0.40.5-1

3 years ago

0.40.4

3 years ago

0.40.4-3

3 years ago

0.40.4-4

3 years ago

0.40.4-1

3 years ago

0.40.4-2

3 years ago

0.40.4-5

3 years ago

0.40.4-0

3 years ago

0.40.3

3 years ago

0.40.3-0

3 years ago

0.40.3-1

3 years ago

0.40.2

3 years ago

0.40.1

3 years ago

0.39.4-14

3 years ago

0.39.4-15

3 years ago

0.39.4-12

3 years ago

0.39.4-13

3 years ago

0.39.4-10

3 years ago

0.39.4-11

3 years ago

0.39.4-8

3 years ago

0.39.4-9

3 years ago

0.39.4-6

3 years ago

0.39.4-7

3 years ago

0.39.4-5

3 years ago

0.39.4-4

3 years ago

0.39.4-3

3 years ago

0.39.4-2

3 years ago

0.39.3

3 years ago

0.39.4-0

3 years ago

0.39.4-1

3 years ago

0.39.3-0

3 years ago

0.39.2

3 years ago

0.39.2-0

3 years ago

0.39.1

3 years ago

0.38.9-0

3 years ago

0.38.8-2

3 years ago

0.38.8-3

3 years ago

0.38.8

3 years ago

0.38.8-1

3 years ago

0.38.8-0

3 years ago

0.38.7

3 years ago

0.38.7-1

3 years ago

0.38.7-0

4 years ago

0.38.6

4 years ago

0.38.5

4 years ago

0.38.5-0

4 years ago

0.38.4-14

4 years ago

0.38.4-13

4 years ago

0.38.4-12

4 years ago

0.38.4-11

4 years ago

0.38.4-10

4 years ago

0.38.4-19

4 years ago

0.38.4-18

4 years ago

0.38.4-17

4 years ago

0.38.4-16

4 years ago

0.38.4-15

4 years ago

0.38.2

4 years ago

0.38.4

4 years ago

0.38.3

4 years ago

0.38.4-8

4 years ago

0.38.4-9

4 years ago

0.38.4-6

4 years ago

0.38.4-7

4 years ago

0.38.4-4

4 years ago

0.38.4-5

4 years ago

0.38.4-2

4 years ago

0.38.4-3

4 years ago

0.38.4-0

4 years ago

0.38.4-1

4 years ago

0.38.3-1

4 years ago

0.38.3-0

4 years ago

0.38.2-2

4 years ago

0.38.2-0

4 years ago

0.38.2-1

4 years ago

0.38.1

4 years ago

0.37.3-17

4 years ago

0.37.3-18

4 years ago

0.37.3-19

4 years ago

0.37.3-15

4 years ago

0.37.3-16

4 years ago

0.37.3-14

4 years ago

0.37.3-13

4 years ago

0.37.3-12

4 years ago

0.37.3-11

4 years ago

0.37.3-9

4 years ago

0.37.3-10

4 years ago

0.37.3-8

4 years ago

0.37.3-7

4 years ago

0.37.3-6

4 years ago

0.37.3-5

4 years ago

0.37.3-3

4 years ago

0.37.3-2

4 years ago

0.37.3-1

4 years ago

0.37.3-0

4 years ago

0.37.2

4 years ago

0.37.2-0

4 years ago

0.36.2-21

4 years ago

0.37.1

4 years ago

0.36.2-19

4 years ago

0.36.2-20

4 years ago

0.36.2-18

4 years ago

0.36.2-17

4 years ago

0.36.2-16

4 years ago

0.36.2-15

4 years ago

0.36.2-14

4 years ago

0.36.2-13

4 years ago

0.36.2-12

4 years ago

0.36.2-11

4 years ago

0.36.2-10

4 years ago

0.36.2-9

4 years ago

0.36.2-8

4 years ago

0.36.2-7

4 years ago

0.36.2-6

4 years ago

0.36.2-5

4 years ago

0.36.2-3

4 years ago

0.36.2-2

4 years ago

0.36.2-4

4 years ago

0.36.2-1

4 years ago

0.36.2-0

4 years ago

0.36.1

4 years ago

0.35.2-29

4 years ago

0.35.2-28

4 years ago

0.35.2-27

4 years ago

0.35.2-26

4 years ago

0.35.2-25

4 years ago

0.35.2-23

4 years ago

0.35.2-24

4 years ago

0.35.2-22

4 years ago

0.35.2-21

4 years ago

0.35.2-20

4 years ago

0.35.2-19

4 years ago

0.35.2-18

4 years ago

0.35.2-17

4 years ago

0.35.2-16

4 years ago

0.35.2-14

4 years ago

0.35.2-15

4 years ago

0.35.2-13

4 years ago

0.35.2-12

4 years ago

0.35.2-10

4 years ago

0.35.2-11

4 years ago

0.35.2-8

4 years ago

0.35.2-7

4 years ago

0.35.2-9

4 years ago

0.35.2-6

4 years ago

0.35.2-5

4 years ago

0.35.2-4

4 years ago

0.35.2-3

4 years ago

0.35.2-2

4 years ago

0.35.2-0

4 years ago

0.35.2-1

4 years ago

0.35.1

4 years ago

0.35.0-beta.57

4 years ago

0.35.0-beta.56

4 years ago

0.35.0-beta.55

4 years ago

0.35.0-beta.54

4 years ago

0.35.0-beta.53

4 years ago

0.35.0-beta.52

4 years ago

0.35.0-beta.50

4 years ago

0.35.0-beta.51

4 years ago

0.35.0-beta.49

4 years ago

0.35.0-beta.48

4 years ago

0.35.0-beta.47

4 years ago

0.35.0-beta.45

4 years ago

0.35.0-beta.46

4 years ago

0.35.0-beta.43

4 years ago

0.35.0-beta.44

4 years ago

0.35.0-beta.42

4 years ago

0.35.0-beta.41

4 years ago

0.35.0-beta.40

4 years ago

0.35.0-beta.39

4 years ago

0.35.0-beta.38

4 years ago

0.35.0-beta.36

4 years ago

0.35.0-beta.37

4 years ago

0.35.0-beta.35

4 years ago

0.35.0-beta.34

4 years ago

0.35.0-beta.33

4 years ago

0.35.0-beta.32

4 years ago

0.35.0-beta.31

4 years ago

0.35.0-beta.30

4 years ago

0.35.0-beta.29

4 years ago

0.35.0-beta.28

4 years ago

0.35.0-beta.27

4 years ago

0.35.0-beta.26

4 years ago

0.35.0-beta.25

4 years ago

0.35.0-beta.24

4 years ago

0.35.0-beta.23

4 years ago

0.35.0-beta.22

4 years ago

0.35.0-beta.21

4 years ago

0.35.0-beta.20

4 years ago

0.35.0-beta.19

4 years ago

0.35.0-beta.18

4 years ago

0.35.0-beta.17

4 years ago

0.35.0-beta.16

4 years ago

0.35.0-beta.15

4 years ago

0.35.0-beta.14

4 years ago

0.35.0-beta.13

4 years ago

0.35.0-beta.11

4 years ago

0.35.0-beta.12

4 years ago

0.35.0-beta.10

4 years ago

0.35.0-beta.9

4 years ago

0.35.0-beta.8

4 years ago

0.35.0-beta.7

4 years ago

0.35.0-beta.6

4 years ago

0.35.0-beta.5

4 years ago

0.35.0-beta.4

4 years ago

0.35.0-beta.3

4 years ago

0.35.0-beta.2

4 years ago

0.35.0-beta.1

4 years ago

0.34.1

4 years ago

0.35.0-beta.0

4 years ago

0.34.0-beta.13

4 years ago

0.34.0-beta.12

4 years ago

0.34.0-beta.11

4 years ago

0.34.0-beta.10

4 years ago

0.33.4

4 years ago

0.33.3

4 years ago

0.34.0-beta.5

4 years ago

0.34.0-beta.9

4 years ago

0.34.0-beta.7

4 years ago

0.34.0-beta.6

4 years ago

0.34.0-beta.4

4 years ago

0.34.0-beta.3

4 years ago

0.34.0-beta.2

4 years ago

0.34.0-beta.1

4 years ago

0.33.2

4 years ago

0.33.1

4 years ago

0.33.0-beta.23

4 years ago

0.33.0-beta.22

4 years ago

0.33.0-beta.21

4 years ago

0.33.0-beta.20

4 years ago

0.33.0-beta.19

4 years ago

0.33.0-beta.18

4 years ago

0.33.0-beta.13

4 years ago

0.33.0-beta.12

4 years ago

0.33.0-beta.11

4 years ago

0.33.0-beta.17

4 years ago

0.33.0-beta.16

4 years ago

0.33.0-beta.15

4 years ago

0.33.0-beta.14

4 years ago

0.33.0-beta.9

4 years ago

0.33.0-beta.10

4 years ago

0.33.0-beta.8

4 years ago

0.33.0-beta.7

4 years ago

0.33.0-beta.6

4 years ago

0.33.0-beta.5

4 years ago

0.33.0-beta.4

4 years ago

0.33.0-beta.3

4 years ago

0.33.0-beta.2

4 years ago

0.33.0-beta.1

4 years ago

0.33.0-beta.0

4 years ago

0.32.1

4 years ago

0.32.0-beta.10

4 years ago

0.32.0-beta.9

4 years ago

0.32.0-beta.8

4 years ago

0.32.0-beta.7

4 years ago

0.32.0-beta.6

4 years ago

0.32.0-beta.5

4 years ago

0.32.0-beta.4

4 years ago

0.32.0-beta.3

4 years ago

0.32.0-beta.2

4 years ago

0.32.0-beta.1

4 years ago

0.32.0-beta.0

4 years ago

0.31.1

5 years ago

0.26.0-beta.27

5 years ago

0.30.1

5 years ago

0.26.0-beta.26

5 years ago

0.26.0-beta.25

5 years ago

0.26.0-beta.24

5 years ago

0.26.0-beta.23

5 years ago

0.26.0-beta.22

5 years ago

0.26.0-beta.21

5 years ago

0.26.0-beta.20

5 years ago

0.26.0-beta.19

5 years ago

0.26.0-beta.18

5 years ago

0.26.0-beta.17

5 years ago

0.26.0-beta.16

5 years ago

0.26.0-beta.15

5 years ago

0.26.0-beta.14

5 years ago

0.26.0-beta.13

5 years ago

0.26.0-beta.12

5 years ago

0.26.0-beta.11

5 years ago

0.26.0-beta.9

5 years ago

0.26.0-beta.8

5 years ago

0.26.0-beta.7

5 years ago

0.26.0-beta.6

5 years ago

0.26.0-beta.5

5 years ago

0.26.0-beta.4

5 years ago

0.26.0-beta.3

5 years ago

0.26.0-beta.2

5 years ago

0.26.0-beta.1

5 years ago

0.26.0-beta.0

5 years ago

0.25.0-beta.7

5 years ago

0.25.1

5 years ago

0.25.0-beta.6

5 years ago

0.25.0-beta.5

5 years ago

0.25.0-beta.4

5 years ago

0.25.0-beta.3

5 years ago

0.25.0-beta.2

5 years ago

0.25.0-beta.1

5 years ago

0.25.0-beta.0

5 years ago

0.24.1

5 years ago

0.24.0-beta.17

5 years ago

0.24.0-beta.16

5 years ago

0.24.0-beta.15

5 years ago

0.24.0-beta.14

5 years ago

0.24.0-beta.12

5 years ago

0.24.0-beta.13

5 years ago

0.24.0-beta.10

5 years ago

0.24.0-beta.11

5 years ago

0.24.0-beta.9

5 years ago

0.24.0-beta.8

5 years ago

0.24.0-beta.7

5 years ago

0.24.0-beta.6

5 years ago

0.24.0-beta.3

5 years ago

0.24.0-beta.4

5 years ago

0.24.0-beta.5

5 years ago

0.24.0-beta.1

5 years ago

0.24.0-beta.0

5 years ago

0.23.0-beta.10

5 years ago

0.23.0-beta.11

5 years ago

0.23.1

5 years ago

0.23.0-beta.9

5 years ago

0.23.0-beta.8

5 years ago

0.23.0-beta.7

5 years ago

0.23.0-beta.6

5 years ago

0.23.0-beta.5

5 years ago

0.23.0-beta.3

5 years ago

0.23.0-beta.2

5 years ago

0.23.0-beta.4

5 years ago

0.23.0-beta.1

5 years ago

0.23.0-beta.0

5 years ago

0.22.1

5 years ago

0.22.0-beta.10

5 years ago

0.22.0-beta.9

5 years ago

0.22.0-beta.8

5 years ago

0.22.0-beta.7

5 years ago

0.22.0-beta.6

5 years ago

0.22.0-beta.5

5 years ago

0.22.0-beta.4

5 years ago

0.22.0-beta.3

5 years ago

0.22.0-beta.2

5 years ago

0.22.0-beta.1

5 years ago

0.22.0-beta.0

5 years ago

0.21.1

5 years ago

0.21.0-beta.1

5 years ago

0.21.0-beta.0

5 years ago

0.20.1

5 years ago

0.15.0-beta.3

5 years ago

0.15.0-beta.2

5 years ago

0.15.0-beta.1

5 years ago

0.15.0-beta.0

5 years ago

0.14.1

5 years ago

0.14.0-beta.9

5 years ago

0.14.0-beta.8

5 years ago

0.14.0-beta.7

5 years ago

0.14.0-beta.6

5 years ago

0.14.0-beta.5

5 years ago

0.14.0-beta.4

5 years ago

0.14.0-beta.3

5 years ago

0.14.0-beta.2

5 years ago

0.14.0-beta.1

5 years ago

0.14.0-beta.0

5 years ago

0.13.1

5 years ago

0.13.0-beta.15

5 years ago

0.13.0-beta.14

5 years ago

0.13.0-beta.13

5 years ago

0.13.0-beta.12

5 years ago

0.13.0-beta.11

5 years ago

0.13.0-beta.10

5 years ago

0.13.0-beta.9

5 years ago

0.13.0-beta.8

5 years ago

0.13.0-beta.7

5 years ago

0.13.0-beta.6

5 years ago

0.13.0-beta.4

5 years ago

0.13.0-beta.3

5 years ago

0.13.0-beta.2

5 years ago

0.13.0-beta.1

5 years ago

0.13.0-beta.0

5 years ago

0.12.1

5 years ago

0.12.0-beta.2

5 years ago

0.12.0-beta.1

5 years ago

0.12.0-beta.0

5 years ago

0.11.1

5 years ago

0.11.0-beta.6

5 years ago

0.11.0-beta.5

5 years ago

0.11.0-beta.4

5 years ago

0.11.0-beta.3

5 years ago

0.11.0-beta.2

5 years ago

0.11.0-beta.1

5 years ago

0.11.0-beta.0

5 years ago

0.10.1

5 years ago

0.10.0-beta.8

5 years ago

0.10.0-beta.7

5 years ago

0.10.0-beta.6

5 years ago

0.10.0-beta.4

5 years ago

0.10.0-beta.3

5 years ago

0.10.0-beta.2

5 years ago

0.10.0-beta.1

5 years ago

0.10.0-beta.0

5 years ago

0.9.1

5 years ago

0.9.0-beta.2

5 years ago

0.9.0-beta.1

5 years ago

0.9.0-beta.0

5 years ago

0.8.1

5 years ago

0.7.1

5 years ago

0.7.0-beta.2

5 years ago

0.7.0-beta.1

5 years ago

0.7.0-beta.0

5 years ago

0.6.1

5 years ago

0.6.0-beta.2

5 years ago

0.6.0-beta.1

5 years ago

0.6.0-beta.0

5 years ago

0.5.1

5 years ago

0.5.0-beta.5

5 years ago

0.5.0-beta.4

5 years ago

0.5.0-beta.3

5 years ago

0.5.0-beta.2

5 years ago

0.5.0-beta.1

5 years ago

0.5.0-beta.0

5 years ago

0.4.1

5 years ago

0.4.0-beta.7

5 years ago

0.4.0-beta.6

5 years ago

0.4.0-beta.5

5 years ago

0.4.0-beta.4

5 years ago

0.4.0-beta.3

5 years ago

0.4.0-beta.2

5 years ago

0.4.0-beta.1

5 years ago

0.4.0-beta.0

5 years ago

0.3.1

5 years ago

0.3.0-beta.4

5 years ago

0.3.0-beta.3

5 years ago

0.3.0-beta.2

5 years ago