Skip to content

Commit b8c16d4

Browse files
committed
chore: updated constants.ts to use .js file extension, updates file references
1 parent 4567300 commit b8c16d4

16 files changed

+34
-27
lines changed

content/contracts-cairo/api/access.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Starting from version `3.x.x`, the interfaces are no longer part of the `openzep
1414
documented here are contained in the `openzeppelin_interfaces` package version `{{openzeppelin_interfaces_version}}`.
1515
</Callout>
1616

17-
import { UMBRELLA_VERSION } from "../utils/constants.ts";
17+
import { UMBRELLA_VERSION } from "../utils/constants.js";
1818

1919
### `IAccessControl` [toc] [#IAccessControl]
2020
<APIGithubLinkHeader

content/contracts-cairo/api/account.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Starting from version `3.x.x`, the interfaces are no longer part of the `openzep
1111
contained in the `openzeppelin_interfaces` package version `{{openzeppelin_interfaces_version}}`.
1212
</Callout>
1313

14-
import { UMBRELLA_VERSION } from "../utils/constants.ts";
14+
import { UMBRELLA_VERSION } from "../utils/constants.js";
1515

1616
### `ISRC6` [toc] [#ISRC6]
1717
<APIGithubLinkHeader

content/contracts-cairo/api/erc1155.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: ERC1155
33
---
44

5-
import { UMBRELLA_VERSION } from "../utils/constants.ts";
5+
import { UMBRELLA_VERSION } from "../utils/constants.js";
66

77
This module provides interfaces, presets, and utilities related to ERC1155 contracts.
88

content/contracts-cairo/api/erc20.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Starting from version `3.x.x`, the interfaces are no longer part of the `openzep
1313
documented here are contained in the `openzeppelin_interfaces` package version `{{openzeppelin_interfaces_version}}`.
1414
</Callout>
1515

16-
import { UMBRELLA_VERSION } from "../utils/constants.ts";
16+
import { UMBRELLA_VERSION } from "../utils/constants.js";
1717

1818
### `IERC20` [toc] [#IERC20]
1919
<APIGithubLinkHeader

content/contracts-cairo/api/erc721.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Starting from version `3.x.x`, the interfaces are no longer part of the `openzep
1313
documented here are contained in the `openzeppelin_interfaces` package version `{{openzeppelin_interfaces_version}}`.
1414
</Callout>
1515

16-
import { UMBRELLA_VERSION } from "../utils/constants.ts";
16+
import { UMBRELLA_VERSION } from "../utils/constants.js";
1717

1818
### `IERC721` [toc] [#IERC721]
1919
<APIGithubLinkHeader

content/contracts-cairo/api/finance.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Finance
33
---
44

5-
import { UMBRELLA_VERSION } from "../utils/constants.ts";
5+
import { UMBRELLA_VERSION } from "../utils/constants.js";
66

77
This crate includes primitives for financial systems.
88

content/contracts-cairo/api/governance.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Governance
33
---
44

5-
import { UMBRELLA_VERSION } from "../utils/constants.ts";
5+
import { UMBRELLA_VERSION } from "../utils/constants.js";
66

77
This crate includes primitives for on-chain governance.
88

content/contracts-cairo/api/introspection.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Introspection
33
---
44

5-
import { UMBRELLA_VERSION } from "../utils/constants.ts";
5+
import { UMBRELLA_VERSION } from "../utils/constants.js";
66

77
This crate handles [type introspection](https://en.wikipedia.org/wiki/Type_introspection) of contracts. In other words, it examines which functions can be called on a given contract. This is referred to as the contract's interface.
88

content/contracts-cairo/api/merkle-tree.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Merkle Tree
33
---
44

5-
import { UMBRELLA_VERSION } from "../utils/constants.ts";
5+
import { UMBRELLA_VERSION } from "../utils/constants.js";
66

77
This crate provides a set of utilities for verifying Merkle Tree proofs on-chain. The tree and the proofs can be generated using this [JavaScript library](https://github.com/ericnordelo/strk-merkle-tree).
88

content/contracts-cairo/api/security.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Security
33
---
44

5-
import { UMBRELLA_VERSION } from "../utils/constants.ts";
5+
import { UMBRELLA_VERSION } from "../utils/constants.js";
66

77
This crate provides components to handle common security-related tasks.
88

0 commit comments

Comments
 (0)