Skip to content

Commit 20d1777

Browse files
authored
Fix package scope in 2 more places (microsoft#99)
1 parent 7384822 commit 20d1777

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ The `node-api-dotnet` package manages hosting the .NET runtime in the JS process
5555
`node-api-dotnet` module, and additional .NET assemblies can be loaded by file path:
5656
```JavaScript
5757
// JavaScript
58-
const dotnet = require('node-api-dotnet');
58+
const dotnet = require('@microsoft/node-api-dotnet');
5959
const ExampleAssembly = dotnet.load('path/to/ExampleAssembly.dll');
6060
const exampleObj = new ExampleAssembly.ExampleClass(...args);
6161
```

examples/dotnet-module/example.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright (c) Microsoft Corporation.
22
// Licensed under the MIT License.
33

4-
const dotnet = require('node-api-dotnet');
4+
const dotnet = require('@microsoft/node-api-dotnet');
55

66
/** @type {import('./bin/dotnet-module').Example} */
77
const Example = dotnet.require('./bin/dotnet-module').Example;

0 commit comments

Comments
 (0)