Skip to content

Commit

Permalink
feat: Add Intl as a default endowment
Browse files Browse the repository at this point in the history
  • Loading branch information
FrederikBolding committed Jan 23, 2025
1 parent 78dd810 commit e95dae1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ const commonEndowments: CommonEndowmentSpecification[] = [
{ endowment: DataView, name: 'DataView' },
{ endowment: Float32Array, name: 'Float32Array' },
{ endowment: Float64Array, name: 'Float64Array' },
{ endowment: Intl, name: 'Intl' },
{ endowment: Int8Array, name: 'Int8Array' },
{ endowment: Int16Array, name: 'Int16Array' },
{ endowment: Int32Array, name: 'Int32Array' },
Expand Down
1 change: 1 addition & 0 deletions packages/snaps-utils/src/default-endowments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export const DEFAULT_ENDOWMENTS: readonly string[] = Object.freeze([
'Uint16Array',
'Int32Array',
'isSecureContext',
'Intl',
'Uint32Array',
'Float32Array',
'Float64Array',
Expand Down

0 comments on commit e95dae1

Please sign in to comment.