Skip to content

Commit 3db94ed

Browse files
author
Ian Tan
committed
chore(): add banner
1 parent 00ebd34 commit 3db94ed

File tree

10 files changed

+83
-0
lines changed

10 files changed

+83
-0
lines changed

jest-setup.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,11 @@
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
const crypto = require('@trust/webcrypto');
211
window.crypto = crypto;

jest.config.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
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
const config = {
211
transform: {
312
'^.+\\.(t|j)s$': 'ts-jest',

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
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": [

src/index.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
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
import Zilliqa from './zilliqa';
211
export { default as Zilliqa } from './zilliqa';
312

src/types.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
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
import BN from 'bn.js';
211

312
export interface TxDetails {

typings/elliptic.d.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
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
declare module 'elliptic' {
211
import BN from 'bn.js';
312

typings/json.d.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
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
declare module '*.json' {
211
var exported: any;
312
export = exported;

typings/signature.d.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
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
declare module 'elliptic/lib/elliptic/ec/signature' {
211
import BN from 'bn.js';
312

typings/window.d.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
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
import Zilliqa from '../src/zilliqa';
211

312
declare global {

webpack.config.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
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 }] */
312
const path = require('path');

0 commit comments

Comments
 (0)