Gojs License Key issue in angular

I have a gojs diagram, i have created a npm package and installed it in another application.
Now the functionality is fine everything is working fine but the watermark is not getting removed,
using versions
“gojs”: “^2.1.34”,
“gojs-angular”: “^1.0.15”
and using this approach in my bootstrap component
go.Diagram.licenseKey = “…YourKeyHere…”;

Is the page being served from either localhost or the domain specified when you requested the license key?

Domain specific

And what is that domain?

In your main.ts file you should try this:

import {Diagram as go} from 'gojs';

go.licenseKey = '...YourKeyHere...';