Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #4

Merged
merged 2 commits into from
Apr 28, 2024
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
15 changes: 15 additions & 0 deletions .idea/RSNet.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions .idea/bsc.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

48 changes: 48 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .idea/markdown.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .idea/motoswap.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"type": "module",
"name": "@btc-vision/bsi-binary",
"version": "1.0.2",
"version": "1.0.3",
"description": "",
"main": "build/index.js",
"types": "build/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions src/abi/ABICoder.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { createHash } from 'node:crypto';
import { BinaryReader } from '../buffer/BinaryReader';
import { BufferHelper } from '../utils/BufferHelper';
import { BinaryReader } from '../buffer/BinaryReader.js';
import { BufferHelper } from '../utils/BufferHelper.js';

export enum ABIDataTypes {
UINT8 = 'UINT8',
Expand Down
4 changes: 2 additions & 2 deletions src/buffer/BinaryWriter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import {
u8,
} from './types/math.js';

import { BufferHelper } from '../utils/BufferHelper';
import { BinaryReader } from './BinaryReader';
import { BufferHelper } from '../utils/BufferHelper.js';
import { BinaryReader } from './BinaryReader.js';

export class BinaryWriter {
private currentOffset: u32 = 0;
Expand Down
2 changes: 1 addition & 1 deletion src/utils/BufferHelper.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { MemorySlotPointer } from '../buffer/types/math';
import { MemorySlotPointer } from '../buffer/types/math.js';

export class BufferHelper {
public static readonly EXPECTED_BUFFER_LENGTH: number = 32;
Expand Down
Loading