2.1.1 • Published 1 year ago

@gemwallet-beta/api v2.1.1

Weekly downloads
-
License
-
Repository
github
Last release
1 year ago

GemWallet API

Introduction

This packages builds a wrapper around the messaging system used to interact with the GemWallet extension. Client applications will be able to install this package from npm or via CDN. It also contains constants that may need to be imported into other repositories in the GemWallet project.

For instructions on how to integrate with GemWallet API, visit: https://gemwallet.app/docs/user-guide/introduction

Architecture

The API and the extension are communicating via Message events via cross-document messaging.

Architecture diagram

graph TD
    A[Browser event - Create a promise on the client] -->|Uses the GemWallet API| B[Browser Content Script]
    B --> |Uses the GemWallet API| C[Browser Background Script]
    C --> |Open GemWallet Extension with payload| D[Browser Background Script]
    D --> |Uses the GemWallet API| E[Browser Content Script]
    E[Browser Promise resolved]
2.1.1

1 year ago

2.1.0

1 year ago

2.0.0

2 years ago

2.0.0-beta

2 years ago