title: Getting : "TypeError: Cannot read property 'Token' of undefined" when compiling fm.liveswitch?
body: <p>The <code>fm.liveswitch</code> JS SDK is for both the client and for your own backend 'app server'.
  It compiles and runs fine in the frontend thanks to webpack / babel.
  The exact same import statement : <code>import liveswitch from 'fm.liveswitch';</code> doesn't work on the backend (Node 16).</p>
  <p>I get the above error when I try and call <code>liveswitch.Token.generateClientRegisterToken(params...)</code>.
  The project is a Firebase / React project and so the 'backend' are the cloud functions.
  The <code>tsconfig.json</code> for the functions dir is the default from firebase with a couple of tweaks.</p>
  <pre><code>{
    &quot;compilerOptions&quot;: {
       &quot;module&quot;: &quot;commonjs&quot;,
       &quot;removeComments&quot;: true,
       &quot;noImplicitAny&quot;: false,
       &quot;noImplicitReturns&quot;: true,
       &quot;noUnusedLocals&quot;: true,
       &quot;outDir&quot;: &quot;lib&quot;,
       &quot;sourceMap&quot;: true,
       &quot;strict&quot;: true,
       &quot;alwaysStrict&quot;: true,
       &quot;target&quot;: &quot;es2017&quot;
    },
    &quot;compileOnSave&quot;: true,
       &quot;include&quot;: [
         &quot;src&quot;
       ]
  }
  </code></pre>