Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions .github/workflows/add-issues-to-project.yml

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,6 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/hirosystems/stacks.js.git"
"url": "git+https://github.com/stx-labs/stacks.js.git"
}
}
4 changes: 2 additions & 2 deletions packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@
],
"repository": {
"type": "git",
"url": "git+https://github.com/hirosystems/stacks.js.git"
"url": "git+https://github.com/stx-labs/stacks.js.git"
},
"bugs": {
"url": "https://github.com/hirosystems/stacks.js/issues"
"url": "https://github.com/stx-labs/stacks.js/issues"
}
}
2 changes: 1 addition & 1 deletion packages/auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
],
"repository": {
"type": "git",
"url": "git+https://github.com/hirosystems/stacks.js.git"
"url": "git+https://github.com/stx-labs/stacks.js.git"
},
"bugs": {
"url": "https://github.com/blockstack/blockstack.js/issues"
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
],
"repository": {
"type": "git",
"url": "git+https://github.com/hirosystems/stacks.js.git"
"url": "git+https://github.com/stx-labs/stacks.js.git"
},
"bugs": {
"url": "https://github.com/blockstack/blockstack.js/issues"
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ async function getStacksWalletKey(_network: CLINetworkAdapter, args: string[]):

/**
* Enable users to transfer subdomains to wallet-key addresses that correspond to all data-key addresses
* Reference: https://github.com/hirosystems/stacks.js/issues/1209
* Reference: https://github.com/stx-labs/stacks.js/issues/1209
* args:
* @mnemonic (string) the seed phrase to retrieve the privateKey & address
* @registrarUrl (string) URL of the registrar to use (defaults to 'https://registrar.stacks.co')
Expand Down
2 changes: 1 addition & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
],
"repository": {
"type": "git",
"url": "git+https://github.com/hirosystems/stacks.js.git"
"url": "git+https://github.com/stx-labs/stacks.js.git"
},
"bugs": {
"url": "https://github.com/blockstack/blockstack.js/issues"
Expand Down
2 changes: 1 addition & 1 deletion packages/encryption/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
],
"repository": {
"type": "git",
"url": "git+https://github.com/hirosystems/stacks.js.git"
"url": "git+https://github.com/stx-labs/stacks.js.git"
},
"bugs": {
"url": "https://github.com/blockstack/blockstack.js/issues"
Expand Down
2 changes: 1 addition & 1 deletion packages/network/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
],
"repository": {
"type": "git",
"url": "git+https://github.com/hirosystems/stacks.js.git"
"url": "git+https://github.com/stx-labs/stacks.js.git"
},
"bugs": {
"url": "https://github.com/blockstack/blockstack.js/issues"
Expand Down
2 changes: 1 addition & 1 deletion packages/profile/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
],
"repository": {
"type": "git",
"url": "git+https://github.com/hirosystems/stacks.js.git"
"url": "git+https://github.com/stx-labs/stacks.js.git"
},
"bugs": {
"url": "https://github.com/blockstack/blockstack.js/issues"
Expand Down
2 changes: 1 addition & 1 deletion packages/stacking/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
],
"repository": {
"type": "git",
"url": "git+https://github.com/hirosystems/stacks.js.git"
"url": "git+https://github.com/stx-labs/stacks.js.git"
},
"bugs": {
"url": "https://github.com/blockstack/blockstack.js/issues"
Expand Down
2 changes: 1 addition & 1 deletion packages/storage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
],
"repository": {
"type": "git",
"url": "git+https://github.com/hirosystems/stacks.js.git"
"url": "git+https://github.com/stx-labs/stacks.js.git"
},
"bugs": {
"url": "https://github.com/blockstack/blockstack.js/issues"
Expand Down
4 changes: 2 additions & 2 deletions packages/transactions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@
],
"repository": {
"type": "git",
"url": "git+https://github.com/hirosystems/stacks.js.git"
"url": "git+https://github.com/stx-labs/stacks.js.git"
},
"bugs": {
"url": "https://github.com/hirosystems/stacks.js/issues"
"url": "https://github.com/stx-labs/stacks.js/issues"
}
}
2 changes: 1 addition & 1 deletion packages/transactions/src/cl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export { prettyPrint, stringify } from './clarity/prettyPrint';

export { parse } from './clarity/parser';

// todo: https://github.com/hirosystems/clarinet/issues/786
// todo: https://github.com/stx-labs/clarinet/issues/786

// Primitives //////////////////////////////////////////////////////////////////
/**
Expand Down
2 changes: 1 addition & 1 deletion packages/transactions/src/clarity/deserialize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import { deserializeAddress, deserializeLPString } from '../wire';
* ```
*
* @see
* {@link https://github.com/hirosystems/stacks.js/blob/main/packages/transactions/tests/clarity.test.ts | clarity test cases for more examples}
* {@link https://github.com/stx-labs/stacks.js/blob/main/packages/transactions/tests/clarity.test.ts | clarity test cases for more examples}
*/
export function deserializeCV<T extends ClarityValue = ClarityValue>(
serializedClarityValue: BytesReader | Uint8Array | string
Expand Down
2 changes: 1 addition & 1 deletion packages/transactions/src/clarity/serialize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ function serializeStringUtf8CV(cv: StringUtf8CV) {
* ```
*
* @see
* {@link https://github.com/hirosystems/stacks.js/blob/main/packages/transactions/tests/clarity.test.ts | clarity test cases for more examples}
* {@link https://github.com/stx-labs/stacks.js/blob/main/packages/transactions/tests/clarity.test.ts | clarity test cases for more examples}
*/
export function serializeCV(value: ClarityValue): string {
return bytesToHex(serializeCVBytes(value));
Expand Down
6 changes: 3 additions & 3 deletions packages/transactions/src/clarity/values/booleanCV.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { BooleanCV } from '../types';
* ```
*
* @see
* {@link https://github.com/hirosystems/stacks.js/blob/main/packages/transactions/tests/clarity.test.ts | clarity test cases for more examples}
* {@link https://github.com/stx-labs/stacks.js/blob/main/packages/transactions/tests/clarity.test.ts | clarity test cases for more examples}
*/
export const trueCV = (): BooleanCV => ({ type: ClarityType.BoolTrue });

Expand All @@ -33,7 +33,7 @@ export const trueCV = (): BooleanCV => ({ type: ClarityType.BoolTrue });
* ```
*
* @see
* {@link https://github.com/hirosystems/stacks.js/blob/main/packages/transactions/tests/clarity.test.ts | clarity test cases for more examples}
* {@link https://github.com/stx-labs/stacks.js/blob/main/packages/transactions/tests/clarity.test.ts | clarity test cases for more examples}
*/
export const falseCV = (): BooleanCV => ({ type: ClarityType.BoolFalse });

Expand All @@ -51,6 +51,6 @@ export const falseCV = (): BooleanCV => ({ type: ClarityType.BoolFalse });
* ```
*
* @see
* {@link https://github.com/hirosystems/stacks.js/blob/main/packages/transactions/tests/clarity.test.ts | clarity test cases for more examples}
* {@link https://github.com/stx-labs/stacks.js/blob/main/packages/transactions/tests/clarity.test.ts | clarity test cases for more examples}
*/
export const boolCV = (bool: boolean) => (bool ? trueCV() : falseCV());
4 changes: 2 additions & 2 deletions packages/transactions/src/clarity/values/bufferCV.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { BufferCV } from '../types';
* ```
*
* @see
* {@link https://github.com/hirosystems/stacks.js/blob/main/packages/transactions/tests/clarity.test.ts | clarity test cases for more examples}
* {@link https://github.com/stx-labs/stacks.js/blob/main/packages/transactions/tests/clarity.test.ts | clarity test cases for more examples}
*/
export const bufferCV = (buffer: Uint8Array): BufferCV => {
// max size 1024 * 1024 = 1MB; https://github.com/stacks-network/stacks-core/blob/c50a93088d7c0261f1dbe31ab24b95028a038447/clarity/src/vm/types/mod.rs#L47
Expand Down Expand Up @@ -51,6 +51,6 @@ export const bufferCV = (buffer: Uint8Array): BufferCV => {
*```
*
* @see
* {@link https://github.com/hirosystems/stacks.js/blob/main/packages/transactions/tests/clarity.test.ts | clarity test cases for more examples}
* {@link https://github.com/stx-labs/stacks.js/blob/main/packages/transactions/tests/clarity.test.ts | clarity test cases for more examples}
*/
export const bufferCVFromString = (str: string): BufferCV => bufferCV(utf8ToBytes(str));
4 changes: 2 additions & 2 deletions packages/transactions/src/clarity/values/intCV.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const MIN_I128 = BigInt('-170141183460469231731687303715884105728'); // (-2 ** 1
* ```
*
* @see
* {@link https://github.com/hirosystems/stacks.js/blob/main/packages/transactions/tests/clarity.test.ts | clarity test cases for more examples}
* {@link https://github.com/stx-labs/stacks.js/blob/main/packages/transactions/tests/clarity.test.ts | clarity test cases for more examples}
*/
export const intCV = (value: IntegerType): IntCV => {
// ensure compatibility with twos-complement encoded hex-strings
Expand Down Expand Up @@ -66,7 +66,7 @@ export const intCV = (value: IntegerType): IntCV => {
* ```
*
* @see
* {@link https://github.com/hirosystems/stacks.js/blob/main/packages/transactions/tests/clarity.test.ts | clarity test cases for more examples}
* {@link https://github.com/stx-labs/stacks.js/blob/main/packages/transactions/tests/clarity.test.ts | clarity test cases for more examples}
*/
export const uintCV = (value: IntegerType): UIntCV => {
const bigInt = intToBigInt(value);
Expand Down
2 changes: 1 addition & 1 deletion packages/transactions/src/clarity/values/listCV.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { ListCV } from '../types';
* ```
*
* @see
* {@link https://github.com/hirosystems/stacks.js/blob/main/packages/transactions/tests/clarity.test.ts | clarity test cases for more examples}
* {@link https://github.com/stx-labs/stacks.js/blob/main/packages/transactions/tests/clarity.test.ts | clarity test cases for more examples}
*/
export function listCV<T extends ClarityValue = ClarityValue>(values: T[]): ListCV<T> {
return { type: ClarityType.List, value: values };
Expand Down
4 changes: 2 additions & 2 deletions packages/transactions/src/clarity/values/optionalCV.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { NoneCV, OptionalCV } from '../types';
* ```
*
* @see
* {@link https://github.com/hirosystems/stacks.js/blob/main/packages/transactions/tests/clarity.test.ts | clarity test cases for more examples}
* {@link https://github.com/stx-labs/stacks.js/blob/main/packages/transactions/tests/clarity.test.ts | clarity test cases for more examples}
*/
export function noneCV(): NoneCV {
return { type: ClarityType.OptionalNone };
Expand All @@ -38,7 +38,7 @@ export function noneCV(): NoneCV {
* ```
*
* @see
* {@link https://github.com/hirosystems/stacks.js/blob/main/packages/transactions/tests/clarity.test.ts | clarity test cases for more examples}
* {@link https://github.com/stx-labs/stacks.js/blob/main/packages/transactions/tests/clarity.test.ts | clarity test cases for more examples}
*/
export function someCV<T extends ClarityValue = ClarityValue>(value: T): OptionalCV<T> {
return { type: ClarityType.OptionalSome, value };
Expand Down
8 changes: 4 additions & 4 deletions packages/transactions/src/clarity/values/principalCV.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export function principalCV(principal: string): PrincipalCV {
* ```
*
* @see
* {@link https://github.com/hirosystems/stacks.js/blob/main/packages/transactions/tests/clarity.test.ts | clarity test cases for more examples}
* {@link https://github.com/stx-labs/stacks.js/blob/main/packages/transactions/tests/clarity.test.ts | clarity test cases for more examples}
*/
export function standardPrincipalCV(addressString: string): StandardPrincipalCV {
const addr = createAddress(addressString);
Expand All @@ -59,7 +59,7 @@ export function standardPrincipalCV(addressString: string): StandardPrincipalCV
* ```
*
* @see
* {@link https://github.com/hirosystems/stacks.js/blob/main/packages/transactions/tests/clarity.test.ts | clarity test cases for more examples}
* {@link https://github.com/stx-labs/stacks.js/blob/main/packages/transactions/tests/clarity.test.ts | clarity test cases for more examples}
*/
export function standardPrincipalCVFromAddress(address: AddressWire): StandardPrincipalCV {
return { type: ClarityType.PrincipalStandard, value: addressToString(address) };
Expand All @@ -80,7 +80,7 @@ export function standardPrincipalCVFromAddress(address: AddressWire): StandardPr
* ```
*
* @see
* {@link https://github.com/hirosystems/stacks.js/blob/main/packages/transactions/tests/clarity.test.ts | clarity test cases for more examples}
* {@link https://github.com/stx-labs/stacks.js/blob/main/packages/transactions/tests/clarity.test.ts | clarity test cases for more examples}
*/
export function contractPrincipalCV(
addressString: string,
Expand All @@ -107,7 +107,7 @@ export function contractPrincipalCV(
* ```
*
* @see
* {@link https://github.com/hirosystems/stacks.js/blob/main/packages/transactions/tests/clarity.test.ts | clarity test cases for more examples}
* {@link https://github.com/stx-labs/stacks.js/blob/main/packages/transactions/tests/clarity.test.ts | clarity test cases for more examples}
*/
export function contractPrincipalCVFromAddress(
address: AddressWire,
Expand Down
4 changes: 2 additions & 2 deletions packages/transactions/src/clarity/values/responseCV.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { ResponseErrorCV, ResponseOkCV } from '../types';
* ```
*
* @see
* {@link https://github.com/hirosystems/stacks.js/blob/main/packages/transactions/tests/clarity.test.ts | clarity test cases for more examples}
* {@link https://github.com/stx-labs/stacks.js/blob/main/packages/transactions/tests/clarity.test.ts | clarity test cases for more examples}
*/
export function responseErrorCV<T extends ClarityValue = ClarityValue>(
value: T
Expand All @@ -44,7 +44,7 @@ export function responseErrorCV<T extends ClarityValue = ClarityValue>(
* ```
*
* @see
* {@link https://github.com/hirosystems/stacks.js/blob/main/packages/transactions/tests/clarity.test.ts | clarity test cases for more examples}
* {@link https://github.com/stx-labs/stacks.js/blob/main/packages/transactions/tests/clarity.test.ts | clarity test cases for more examples}
*/
export function responseOkCV<T extends ClarityValue = ClarityValue>(value: T): ResponseOkCV<T> {
return { type: ClarityType.ResponseOk, value };
Expand Down
4 changes: 2 additions & 2 deletions packages/transactions/src/clarity/values/stringCV.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { StringAsciiCV, StringUtf8CV } from '../types';
* ```
*
* @see
* {@link https://github.com/hirosystems/stacks.js/blob/main/packages/transactions/tests/clarity.test.ts | clarity test cases for more examples}
* {@link https://github.com/stx-labs/stacks.js/blob/main/packages/transactions/tests/clarity.test.ts | clarity test cases for more examples}
*/
export const stringAsciiCV = (data: string): StringAsciiCV => {
return { type: ClarityType.StringASCII, value: data };
Expand All @@ -41,7 +41,7 @@ export const stringAsciiCV = (data: string): StringAsciiCV => {
* ```
*
* @see
* {@link https://github.com/hirosystems/stacks.js/blob/main/packages/transactions/tests/clarity.test.ts | clarity test cases for more examples}
* {@link https://github.com/stx-labs/stacks.js/blob/main/packages/transactions/tests/clarity.test.ts | clarity test cases for more examples}
*/
export const stringUtf8CV = (data: string): StringUtf8CV => {
return { type: ClarityType.StringUTF8, value: data };
Expand Down
2 changes: 1 addition & 1 deletion packages/transactions/src/clarity/values/tupleCV.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import { TupleCV, TupleData } from '../types';
* ```
*
* @see
* {@link https://github.com/hirosystems/stacks.js/blob/main/packages/transactions/tests/clarity.test.ts | clarity test cases for more examples}
* {@link https://github.com/stx-labs/stacks.js/blob/main/packages/transactions/tests/clarity.test.ts | clarity test cases for more examples}
*/
export function tupleCV<T extends ClarityValue = ClarityValue>(
data: TupleData<T>
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@
"replaceText": {
"replacements": [
{
"pattern": "https://github.com/hirosystems/stacks.js/tree/main/packages/wallet-sdk",
"pattern": "https://github.com/stx-labs/stacks.js/tree/main/packages/wallet-sdk",
"replace": "/modules/_stacks_wallet_sdk"
},
{
"pattern": "https://github.com/hirosystems/stacks.js/tree/main/packages/",
"pattern": "https://github.com/stx-labs/stacks.js/tree/main/packages/",
"replace": "/modules/_stacks_"
}
]
Expand Down
Loading