1.0.15 • Published 2 years ago

@maple-tech/red-packet-sdk v1.0.15

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
2 years ago

red-packet SDK

The Entrance SDK Of Maple's Chinese New Year HongBao Activity

Installation

pnpm i @maple-tech/red-packet-sdk

Usage

CMD

import { initMapleRedPacket } from '@maple-tech/red-packet-sdk'
initMapleRedPacket({
  platform: "ave" | "maplesale" | "maplenft" | "mapleins" | "mapledex"
}).renderToBody()

UMD

;(function () {
  var script = document.createElement('script')
  script.onload = function () {
    MapleRedPacketSDK.initMapleRedPacket({
      platform: "ave" | "maplesale" | "maplenft" | "mapleins" | "mapledex"
    }).renderToBody()
  }
  script.defer = true
  script.src = 'https://unpkg.com/@maple-tech/red-packet-sdk/dist/index.iife.js'
  document.body.appendChild(script)
})()
1.0.15

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.10

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago