File tree Expand file tree Collapse file tree 10 files changed +83
-0
lines changed
Expand file tree Collapse file tree 10 files changed +83
-0
lines changed Original file line number Diff line number Diff line change 1+ // Copyright (c) 2018 Zilliqa
2+ // This source code is being disclosed to you solely for the purpose of your participation in
3+ // testing Zilliqa. You may view, compile and run the code for that purpose and pursuant to
4+ // the protocols and algorithms that are programmed into, and intended by, the code. You may
5+ // not do anything else with the code without express permission from Zilliqa Research Pte. Ltd.,
6+ // including modifying or publishing the code (or any part of it), and developing or forming
7+ // another public or private blockchain network. This source code is provided ‘as is’ and no
8+ // warranties are given as to title or non-infringement, merchantability or fitness for purpose
9+ // and, to the extent permitted by law, all liability for your use of the code is disclaimed.
110const crypto = require ( '@trust/webcrypto' ) ;
211window . crypto = crypto ;
Original file line number Diff line number Diff line change 1+ // Copyright (c) 2018 Zilliqa
2+ // This source code is being disclosed to you solely for the purpose of your participation in
3+ // testing Zilliqa. You may view, compile and run the code for that purpose and pursuant to
4+ // the protocols and algorithms that are programmed into, and intended by, the code. You may
5+ // not do anything else with the code without express permission from Zilliqa Research Pte. Ltd.,
6+ // including modifying or publishing the code (or any part of it), and developing or forming
7+ // another public or private blockchain network. This source code is provided ‘as is’ and no
8+ // warranties are given as to title or non-infringement, merchantability or fitness for purpose
9+ // and, to the extent permitted by law, all liability for your use of the code is disclaimed.
110const config = {
211 transform : {
312 '^.+\\.(t|j)s$' : 'ts-jest' ,
Original file line number Diff line number Diff line change 11{
22 "name" : " zilliqa.js" ,
33 "version" : " 0.1.0" ,
4+ "license" : " See LICENSE" ,
45 "description" : " zilliqa js library" ,
6+ "repository" : " https://github.com/Zilliqa/Zilliqa-Javascript-Library" ,
57 "main" : " dist/zilliqa.js" ,
68 "typings" : " dist/index.d.ts" ,
79 "sideEffects" : [
Original file line number Diff line number Diff line change 1+ // Copyright (c) 2018 Zilliqa
2+ // This source code is being disclosed to you solely for the purpose of your participation in
3+ // testing Zilliqa. You may view, compile and run the code for that purpose and pursuant to
4+ // the protocols and algorithms that are programmed into, and intended by, the code. You may
5+ // not do anything else with the code without express permission from Zilliqa Research Pte. Ltd.,
6+ // including modifying or publishing the code (or any part of it), and developing or forming
7+ // another public or private blockchain network. This source code is provided ‘as is’ and no
8+ // warranties are given as to title or non-infringement, merchantability or fitness for purpose
9+ // and, to the extent permitted by law, all liability for your use of the code is disclaimed.
110import Zilliqa from './zilliqa' ;
211export { default as Zilliqa } from './zilliqa' ;
312
Original file line number Diff line number Diff line change 1+ // Copyright (c) 2018 Zilliqa
2+ // This source code is being disclosed to you solely for the purpose of your participation in
3+ // testing Zilliqa. You may view, compile and run the code for that purpose and pursuant to
4+ // the protocols and algorithms that are programmed into, and intended by, the code. You may
5+ // not do anything else with the code without express permission from Zilliqa Research Pte. Ltd.,
6+ // including modifying or publishing the code (or any part of it), and developing or forming
7+ // another public or private blockchain network. This source code is provided ‘as is’ and no
8+ // warranties are given as to title or non-infringement, merchantability or fitness for purpose
9+ // and, to the extent permitted by law, all liability for your use of the code is disclaimed.
110import BN from 'bn.js' ;
211
312export interface TxDetails {
Original file line number Diff line number Diff line change 1+ // Copyright (c) 2018 Zilliqa
2+ // This source code is being disclosed to you solely for the purpose of your participation in
3+ // testing Zilliqa. You may view, compile and run the code for that purpose and pursuant to
4+ // the protocols and algorithms that are programmed into, and intended by, the code. You may
5+ // not do anything else with the code without express permission from Zilliqa Research Pte. Ltd.,
6+ // including modifying or publishing the code (or any part of it), and developing or forming
7+ // another public or private blockchain network. This source code is provided ‘as is’ and no
8+ // warranties are given as to title or non-infringement, merchantability or fitness for purpose
9+ // and, to the extent permitted by law, all liability for your use of the code is disclaimed.
110declare module 'elliptic' {
211 import BN from 'bn.js' ;
312
Original file line number Diff line number Diff line change 1+ // Copyright (c) 2018 Zilliqa
2+ // This source code is being disclosed to you solely for the purpose of your participation in
3+ // testing Zilliqa. You may view, compile and run the code for that purpose and pursuant to
4+ // the protocols and algorithms that are programmed into, and intended by, the code. You may
5+ // not do anything else with the code without express permission from Zilliqa Research Pte. Ltd.,
6+ // including modifying or publishing the code (or any part of it), and developing or forming
7+ // another public or private blockchain network. This source code is provided ‘as is’ and no
8+ // warranties are given as to title or non-infringement, merchantability or fitness for purpose
9+ // and, to the extent permitted by law, all liability for your use of the code is disclaimed.
110declare module '*.json' {
211 var exported : any ;
312 export = exported ;
Original file line number Diff line number Diff line change 1+ // Copyright (c) 2018 Zilliqa
2+ // This source code is being disclosed to you solely for the purpose of your participation in
3+ // testing Zilliqa. You may view, compile and run the code for that purpose and pursuant to
4+ // the protocols and algorithms that are programmed into, and intended by, the code. You may
5+ // not do anything else with the code without express permission from Zilliqa Research Pte. Ltd.,
6+ // including modifying or publishing the code (or any part of it), and developing or forming
7+ // another public or private blockchain network. This source code is provided ‘as is’ and no
8+ // warranties are given as to title or non-infringement, merchantability or fitness for purpose
9+ // and, to the extent permitted by law, all liability for your use of the code is disclaimed.
110declare module 'elliptic/lib/elliptic/ec/signature' {
211 import BN from 'bn.js' ;
312
Original file line number Diff line number Diff line change 1+ // Copyright (c) 2018 Zilliqa
2+ // This source code is being disclosed to you solely for the purpose of your participation in
3+ // testing Zilliqa. You may view, compile and run the code for that purpose and pursuant to
4+ // the protocols and algorithms that are programmed into, and intended by, the code. You may
5+ // not do anything else with the code without express permission from Zilliqa Research Pte. Ltd.,
6+ // including modifying or publishing the code (or any part of it), and developing or forming
7+ // another public or private blockchain network. This source code is provided ‘as is’ and no
8+ // warranties are given as to title or non-infringement, merchantability or fitness for purpose
9+ // and, to the extent permitted by law, all liability for your use of the code is disclaimed.
110import Zilliqa from '../src/zilliqa' ;
211
312declare global {
Original file line number Diff line number Diff line change 1+ // Copyright (c) 2018 Zilliqa
2+ // This source code is being disclosed to you solely for the purpose of your participation in
3+ // testing Zilliqa. You may view, compile and run the code for that purpose and pursuant to
4+ // the protocols and algorithms that are programmed into, and intended by, the code. You may
5+ // not do anything else with the code without express permission from Zilliqa Research Pte. Ltd.,
6+ // including modifying or publishing the code (or any part of it), and developing or forming
7+ // another public or private blockchain network. This source code is provided ‘as is’ and no
8+ // warranties are given as to title or non-infringement, merchantability or fitness for purpose
9+ // and, to the extent permitted by law, all liability for your use of the code is disclaimed.
110// Base webpack configuration - to be used in ALL environments.
211/* eslint import/no-extraneous-dependencies: ["error", { devDependencies: true }] */
312const path = require ( 'path' ) ;
You can’t perform that action at this time.
0 commit comments